public class AccountConfig
extends java.lang.Object
Constructor and Description |
---|
AccountConfig(long handle)
Constructor storing the pointer/address to the underlying native object
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
deviceGUID()
Gets the previously stored per account Device GUID
!!!NOTE!!! NOT used internally!
|
void |
deviceGUID(java.lang.String value)
Sets per account Device GUID
!!!NOTE!!! NOT used internally!
|
AudioOutputDeviceType |
dtmfAutoplayDevice()
Automatically play DTMF sounds to the user
Controls whether to automatically play the DTMF sounds to the user when sending DTMFs with call::SendDTMF.
|
void |
dtmfAutoplayDevice(AudioOutputDeviceType value)
Automatically play DTMF sounds to the user
Controls whether to automatically play the DTMF sounds to the user when sending DTMFs with call::SendDTMF.
|
DTMFType |
dtmfBand()
Gets the selected DTMF band for the user
|
void |
dtmfBand(DTMFType value)
Selects the DTMF band for the user
|
boolean |
enableIPv6Detection()
NOT USED! MIGHT BE REMOVED ANYTIME!
Pv6 is a global option and there are no plans making it configurable per account!
|
void |
enableIPv6Detection(boolean value)
NOT USED! MIGHT BE REMOVED ANYTIME!
Pv6 is a global option and there are no plans making it configurable per account!
|
protected void |
finalize()
Ensures the underlying native object destruction
|
long |
handle()
Gets the pointer/address to the underlying native object
|
IAXConfig |
iax()
Gets the IAX specific account configuration
Gets the IAX specific account configuration that is used in case the Account's type is IAX.
|
void |
iax(IAXConfig value)
Sets the IAX specific account configuration
Sets the IAX specific account configuration being used in case the Account's type is IAX.
|
boolean |
isEqual(AccountConfig comp)
Compares the current configuration with the given one
|
java.lang.String |
password()
Gets the Account's password (SIP, IAX, XMPP, etc, depending on the Account type)
|
void |
password(java.lang.String value)
Sets the Account's password (SIP, IAX, XMPP, etc, depending on the Account type)
|
java.lang.String |
registrationGUID()
Gets the previously stored per account Registration GUID
!!!NOTE!!! NOT used internally!
|
void |
registrationGUID(java.lang.String value)
Sets per account Registration GUID
!!!NOTE!!! NOT used internally!
|
int |
reregistrationTime()
Get the Account's registration refresh time
Gets the desired registration refresh period in seconds.
|
void |
reregistrationTime(int value)
Set the Account's registration refresh time
Sets the desired registration refresh period in seconds.
|
SIPConfig |
sip()
Gets the SIP specific account configuration
Gets the SIP specific account configuration that is used in case the Account's type is SIP.
|
void |
sip(SIPConfig value)
Sets the SIP specific account configuration
Sets the SIP specific account configuration being used in case the Account's type is SIP.
|
ProtocolType |
type()
Gets the Account's type (SIP, IAX, XMPP, etc.)
|
void |
type(ProtocolType value)
Sets the Account's type (SIP, IAX, XMPP, etc.)
|
java.lang.String |
userName()
Gets the Account's username (SIP, IAX, XMPP, etc, depending on the Account type)
|
void |
userName(java.lang.String value)
Sets the Account's username (SIP, IAX, XMPP, etc, depending on the Account type)
|
public AccountConfig(long handle)
handle
- Pointer/address to the underlying native objectpublic long handle()
protected void finalize()
finalize
in class java.lang.Object
public java.lang.String userName()
type
public void userName(java.lang.String value)
value
- The Account's usernametype
public java.lang.String password()
type
public void password(java.lang.String value)
value
- The Account's passwordtype
public ProtocolType type()
ProtocolType
public void type(ProtocolType value)
value
- The Account's typeProtocolType
public int reregistrationTime()
public void reregistrationTime(int value)
value
- The registration refresh period in secondspublic SIPConfig sip()
type
public void sip(SIPConfig value)
value
- The SIP configurationtype
public IAXConfig iax()
type
public void iax(IAXConfig value)
value
- The IAX configurationtype
public java.lang.String deviceGUID()
public void deviceGUID(java.lang.String value)
value
- The account's Device GUIDpublic java.lang.String registrationGUID()
public void registrationGUID(java.lang.String value)
value
- The account's Registration GUIDpublic boolean enableIPv6Detection()
public void enableIPv6Detection(boolean value)
public DTMFType dtmfBand()
DTMFType
public void dtmfBand(DTMFType value)
value
- The DTMF band to selectDTMFType
public AudioOutputDeviceType dtmfAutoplayDevice()
AudioOutputDeviceType
public void dtmfAutoplayDevice(AudioOutputDeviceType value)
value
- The DTMF autoplay deviceAudioOutputDeviceType
public boolean isEqual(AccountConfig comp)
comp
- Account configuration to be compared