Public Member Functions | |
| string | AsString () |
| string | AsStringUriOnly () |
| string | AsStringUriOnlyOrdered () |
| void | Clean () |
| Linphone.Address | Clone () |
| bool | Equal (Linphone.Address address2) |
| string | GetHeader (string headerName) |
| string | GetParam (string paramName) |
| string | GetUriParam (string uriParamName) |
| bool | HasParam (string paramName) |
| bool | HasUriParam (string uriParamName) |
| bool | Lesser (Linphone.Address other) |
| void | RemoveUriParam (string uriParamName) |
| void | SetHeader (string headerName, string headerValue) |
| void | SetParam (string paramName, string paramValue) |
| void | SetUriParam (string uriParamName, string uriParamValue) |
| bool | WeakEqual (Linphone.Address address2) |
Properties | |
| string | DisplayName [get, set] |
| string | Domain [get, set] |
| bool | IsSip [get] |
| bool | IsValid [get] |
| string | MethodParam [get, set] |
| string | Password [get, set] |
| int | Port [get, set] |
| string | Scheme [get] |
| bool | Secure [get, set] |
| Linphone.TransportType | Transport [get, set] |
| string | UriParams [set] |
| string | Username [get, set] |
Additional Inherited Members | |
Protected Member Functions inherited from Linphone.LinphoneObject | |
| static String | linphone_pointer_to_string (IntPtr ptr) |
| static IntPtr | linphone_string_to_pointer ([MarshalAs(LinphoneWrapper.ByteStringMarshalling)] String str) |
| IntPtr | StringArrayToBctbxList (IEnumerable< string > stringlist) |
| void | CleanStringArrayPtrs (IntPtr l) |
Object that represents a parsed SIP address.
A SIP address is made of display name, username, domain name, port, and various uri headers (such as tags). It looks like 'Alice <sip:alice@example.net>'. A SIP address is made of display name, username, domain name, port, and various uri headers (such as tags). It looks like 'Alice <sip:alice@example.net>'. You can create an address using Linphone.Factory.CreateAddress() or Linphone.Core.InterpretUrl() and both will return a null object if it doesn't match the grammar defined by the standard. This object is used in almost every other major objects to identity people (including yourself) & servers. The Linphone.Address has methods to extract and manipulate all parts of the address.
|
inline |
Returns the address as a string.
The returned char * must be freed by the application. Use ms_free().
|
inline |
Returns the SIP uri only as a string, that is display name is removed.
The returned char * must be freed by the application. Use ms_free().
|
inline |
Returns the SIP uri only as a string, that is display name is removed.
This function always returns a string whose URI parameters has a constant order allowing to easily compute hashes for example. The returned char * must be freed by the application. Use ms_free().
|
inline |
Removes address's tags and uri headers so that it is displayable to the user.
|
inline |
Clones a Linphone.Address object.
|
inline |
Compare two Linphone.Address taking the tags and headers into account.
| address2 | Linphone.Address object. |
|
inline |
Get the header encoded in the address.
| headerName | the header name. |
|
inline |
Get the value of a parameter of the address.
| paramName | The name of the parameter. |
|
inline |
Get the value of a parameter of the URI of the address.
| uriParamName | The name of the parameter. |
|
inline |
Tell whether a parameter is present in the address.
| paramName | The name of the parameter. |
|
inline |
Tell whether a parameter is present in the URI of the address.
| uriParamName | The name of the parameter. |
|
inline |
Compare two addresses.
| other | an other Linphone.Address object. |
|
inline |
Removes the value of a parameter of the URI of the address.
| uriParamName | The name of the parameter. |
|
inline |
Set a header into the address.
Headers appear in the URI with '?', such as <sip:test@linphone.org?SomeHeader=SomeValue>. Headers appear in the URI with '?', such as <sip:test@linphone.org?SomeHeader=SomeValue>.
| headerName | the header name. |
| headerValue | the header value. |
|
inline |
Set the value of a parameter of the address.
| paramName | The name of the parameter. |
| paramValue | The new value of the parameter. |
|
inline |
Set the value of a parameter of the URI of the address.
| uriParamName | The name of the parameter. |
| uriParamValue | The new value of the parameter. |
|
inline |
Compare two Linphone.Address ignoring tags and headers, basically just domain, username, and port.
| address2 | Linphone.Address object. |
See : Linphone.Address.Equal()
|
getset |
Returns the display name.
|
getset |
Returns the domain name.
|
get |
returns whether the address is a routable SIP address or not
|
get |
Returns if address is valid.
|
getset |
Get the value of the method parameter.
|
getset |
Get the password encoded in the address.
It is used for basic authentication (not recommended).
|
getset |
Get port number as an integer value, 0 if not present.
|
get |
Returns the address scheme, normally "sip".
|
getset |
Returns whether the address refers to a secure location (sips) or not.
|
getset |
Get the transport.
|
set |
Set the value of the parameters of the URI of the address.
| parameters | The parameters string |
|
getset |
Returns the username.