public interface LinphoneAddress
LinphoneCoreFactory.createLinphoneAddress(String, String, String)
or LinphoneCoreFactory.createLinphoneAddress(String)
Modifier and Type | Interface and Description |
---|---|
static class |
LinphoneAddress.TransportType |
Modifier and Type | Method and Description |
---|---|
String |
asString() |
String |
asStringUriOnly() |
void |
clean()
Removes address's tags and uri headers so that it is displayable to the user.
|
String |
getDisplayName()
Human display name
|
String |
getDomain()
Domain name
|
int |
getPort()
Port
|
LinphoneAddress.TransportType |
getTransport()
Gets the transport set in the address
|
String |
getUserName()
userinfo
|
void |
setDisplayName(String name)
set display name
|
void |
setDomain(String domain)
set domain name
|
void |
setPort(int port)
set port
|
void |
setTransport(LinphoneAddress.TransportType transport)
Sets the transport in the address
|
void |
setUserName(String username)
set user name
|
String |
toString()
same as
asString() |
String getDisplayName()
String getUserName()
String getDomain()
int getPort()
void setDisplayName(String name)
name
- void setUserName(String username)
username
- void setDomain(String domain)
domain
- void setPort(int port)
port,
- 0 if not setvoid clean()
String asString()
String asStringUriOnly()
String toString()
asString()
LinphoneAddress.TransportType getTransport()
void setTransport(LinphoneAddress.TransportType transport)
transport
- the transport to set