|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectcom.kii.cloud.filesync.Account
public final class Account
Account object.
| Nested Class Summary | |
|---|---|
static class |
Account.Type
Account type enum values. |
| Field Summary | |
|---|---|
static java.lang.String |
PHONE_LABEL
|
| Constructor Summary | |
|---|---|
Account(Account.Type type,
java.lang.String rawId,
java.lang.String password)
Create account object with specified parameters. |
|
| Method Summary | |
|---|---|
static Account |
fromLocalPhone(java.lang.String countryCode,
java.lang.String phoneNumber,
java.lang.String password)
Create an account object based on local phone number. |
static Account |
fromString(java.lang.String userId,
java.lang.String password)
Create an account object. |
java.lang.String |
getPassword()
Get password for the account. |
java.lang.String |
getRawId()
Get account's raw ID. |
Account.Type |
getType()
Get account type. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PHONE_LABEL
| Constructor Detail |
|---|
public Account(Account.Type type,
java.lang.String rawId,
java.lang.String password)
| Method Detail |
|---|
public static Account fromLocalPhone(java.lang.String countryCode,
java.lang.String phoneNumber,
java.lang.String password)
throws java.lang.IllegalArgumentException
countryCode - Country code. (ex. "JP")phoneNumber - Local phone number (ex. "09011111111");password - Password.
java.lang.IllegalArgumentException - Some problems in parameters.
public static Account fromString(java.lang.String userId,
java.lang.String password)
throws java.lang.IllegalArgumentException
userId - One of email, phone number, Kii ID usernamepassword - Password.
Acceptable format of userId is:
java.lang.IllegalArgumentExceptionpublic java.lang.String getPassword()
public java.lang.String getRawId()
public Account.Type getType()
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||