|
|
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 Linphone Account.
This object replaces the deprecated Linphone.ProxyConfig. Use a Linphone.AccountParams object to configure it.
| void Linphone.Account.AddCustomParam |
( |
string |
key, |
|
|
string |
val |
|
) |
| |
|
inline |
Set one custom parameter to this Linphone.Account.
- Parameters
-
| key | key of the searched parameter. |
| val | value of the searched parameter. |
| void Linphone.Account.ClearCallLogs |
( |
| ) |
|
|
inline |
Deletes all the call logs related to this account from the database.
Instantiate a new account with values from source.
- Returns
- The newly created Linphone.Account object.
Returns a filtered list of chat rooms for a given account.
- Parameters
-
| filter | the criteria a chat room must meet somehow (subject, participant address, friend's name). |
- Returns
- The list of chat rooms A list of Linphone.ChatRoom objects. .
Find authentication info matching account, if any, similarly to linphone_core_find_auth_info.
- Returns
- a Linphone.AuthInfo matching account criteria if possible, null if nothing can be found.
Returns the list of call logs for a given account.
This list must be freed after use.
- Parameters
-
- Returns
- The list of filtered call logs A list of Linphone.CallLog objects. .
| string Linphone.Account.GetCustomHeader |
( |
string |
headerName | ) |
|
|
inline |
Obtain the value of a header sent by the server in last answer to REGISTER.
- Parameters
-
| headerName | The header name for which to fetch corresponding value. |
- Returns
- The value of the queried header.
| string Linphone.Account.GetCustomParam |
( |
string |
key | ) |
|
|
inline |
Get the custom parameter with key to this Linphone.Account.
- Parameters
-
| key | key of the searched parameter. |
- Returns
- The value of the parameter with key if found or an empty string otherwise.
| bool Linphone.Account.IsPhoneNumber |
( |
string |
username | ) |
|
|
inline |
Detect if the given input is a phone number or not.
- Parameters
-
| username | The string to parse. |
- Returns
- true if input is a phone number, false otherwise.
Create a new Linphone.Account with a Proxy config backpointer.
This is only intended to be used while keeping a backward compatibility with proxy config.
- Parameters
-
- Returns
- The newly created Linphone.Account object.
| string Linphone.Account.NormalizePhoneNumber |
( |
string |
username | ) |
|
|
inline |
Normalize a human readable phone number into a basic string.
888-444-222 becomes 888444222 or +33888444222 depending on the Linphone.Account object. This function will always generate a normalized username if input is a phone number.
- Parameters
-
| username | The string to parse. |
- Returns
- null if input is an invalid phone number, normalized phone number from username input otherwise.
Normalize a human readable sip uri into a fully qualified LinphoneAddress.
A sip address should look like DisplayName <sip:username:port> . Basically this function performs the following tasks -if a phone number is entered, prepend country prefix and eventually escape the '+' by 00 of the proxy config. -if no domain part is supplied, append the domain name of the proxy config. Returns null if no proxy is provided at this point. -if no sip: is present, prepend it. The result is a syntactically correct SIP address.
- Parameters
-
| username | The string to parse. |
- Returns
- null if invalid input, normalized sip address otherwise.
| void Linphone.Account.PauseRegister |
( |
| ) |
|
|
inline |
Prevent an account from refreshing its registration.
This is useful to let registrations to expire naturally (or) when the application wants to keep control on when refreshes are sent. However, linphone_core_set_network_reachable(lc,true) will always request the accounts to refresh their registrations. The refreshing operations can be resumed with Linphone.Account.RefreshRegister().
| void Linphone.Account.RefreshRegister |
( |
| ) |
|
|
inline |
Refresh a proxy registration.
This is useful if for example you resuming from suspend, thus IP address may have changed.
| void Linphone.Account.ResetMissedCallsCount |
( |
| ) |
|
|
inline |
Re-sets the number of missed calls for this account to 0.
| void Linphone.Account.SetCustomHeader |
( |
string |
headerName, |
|
|
string |
headerValue |
|
) |
| |
|
inline |
Set the value of a custom header sent to the server in REGISTERs request.
- Parameters
-
| headerName | The header name. |
| headerValue | The header value. |
| bool Linphone.Account.AvpfEnabled |
|
get |
Indicates whether AVPF/SAVPF is being used for calls using this account.
- Returns
- true if AVPF/SAVPF is enabled, false otherwise.
Returns the list of call logs for a given account.
This list must be freed after use.
- Returns
- The list of call logs A list of Linphone.CallLog objects. .
Returns the list of chat rooms for a given account.
- Returns
- The list of chat rooms A list of Linphone.ChatRoom objects. .
Returns the list of conference information stored locally for a given account.
This list must be freed after use.
- Returns
- The list of call logs A list of Linphone.ConferenceInfo objects. .
Warning : This method also start the synchronization with the CCMP server, should it be defined in the Linphone.AccountParams. The application may want to wait for the callback conference_information_updated to get an up-to-date list of conferences
Return the contact address of the account.
- Returns
- a Linphone.Address correspong to the contact address of the account.
Get the dependency of a Linphone.Account.
- Returns
- The account this one is dependent upon, or null if not marked dependent.
Get the reason why registration failed when the account state is LinphoneRegistrationFailed.
- Returns
- The Linphone.Reason why registration failed for this account.
Get detailed information why registration failed when the account state is LinphoneRegistrationFailed.
- Returns
- The Linphone.ErrorInfo explaining why registration failed for this account.
| bool Linphone.Account.IsAvpfEnabled |
|
get |
Indicates whether AVPF/SAVPF is being used for calls using this account.
- Returns
- true if AVPF/SAVPF is enabled, false otherwise.
Deprecated : 16/12/2021 Use Linphone.Account.AvpfEnabled() instead.
| int Linphone.Account.MissedCallsCount |
|
get |
Returns the missed calls count for a given account.
- Returns
- The missed calls count.
Get the presence model linked to a given account.
- Returns
- the presence model, if assigned, null otherwise.
Get the transport from either service route, route or addr.
- Returns
- The transport as a string (I.E udp, tcp, tls, dtls).
Deprecated : 01/03/2021 Use Linphone_account_params_get_transport() instead.
| int Linphone.Account.UnreadChatMessageCount |
|
get |
Returns the unread chat message count for a given account.
- Returns
- The unread chat message count.
The documentation for this class was generated from the following file: