Base account object, including all type accounts, like sip, fxo, bluetooth etc.
All
| method | description |
|---|---|
public int getAccountId(); |
Get the id of the account
Range:(0-MAX_SIP_ACCOUNT-1) {@link com.gs.account.context.AccountContext.AccountLimit} Return:int The id of the accountSupported Products:All |
public void setAccountId(int id); |
Set the ID of the account.
Params:Supported Products:All |
public boolean isActivated(); |
Check if the account is activated
Return:boolean true or falseSupported Products:All |
public void setActivated(boolean activated); |
Set active status of the account.
Params:Supported Products:All |
public boolean isRegistered(); |
Check if the account is registered
Return:boolean true or falseSupported Products:All |
public int getRegisterStatus(); |
Get register status
Return:int The register status of the account |
public void setRegistered(int status); |
Set register status of the account
Params:Supported Products:All |
public void setRegistered(boolean isRegistered); |
Set if the account is registered
Params:Supported Products:All |
public void setRegisterErrorCode(int errorCode); |
Set register error code of the account
Params:Supported Products:All |
public void setAccountName(String name); |
Set the name of the account
Params:Supported Products:All |
public String getAccountName(); |
Get the name of the account
Return:String Name of the accountSupported Products:All |
public void setAccountNumber(String number); |
Set the phone number of the account.
Params:Supported Products:All |
public String getAccountNumber(); |
Get the phone number of the account.
Return:String The phone number of the account.Supported Products:All |
| Member | description |
|---|