Static Public Member Functions | |
| static void | Clean () |
Properties | |
| static Linphone.Factory | Instance [get] |
| string | CacheDir [set] |
| string | ConfigDir [set] |
| string | DataDir [set] |
| string | DataResourcesDir [get, set] |
| IEnumerable< Linphone.DialPlan > | DialPlans [get] |
| string | DownloadDir [set] |
| string | ImageResourcesDir [get, set] |
| bool | IsCacheDirSet [get] |
| bool | IsConfigDirSet [get] |
| bool | IsDataDirSet [get] |
| bool | IsDatabaseStorageAvailable [get] |
| bool | IsDownloadDirSet [get] |
| bool | IsImdnAvailable [get] |
| bool | IsQrcodeAvailable [get] |
| string | LiblinphonePluginsDir [get, set] |
| string | LogCollectionPath [set] |
| string | MspluginsDir [get, set] |
| IEnumerable< Linphone.VideoDefinition > | RecommendedVideoDefinitions [get] |
| string | RingResourcesDir [get, set] |
| string | SoundResourcesDir [get, set] |
| IEnumerable< Linphone.VideoDefinition > | SupportedVideoDefinitions [get] |
| string | TopResourcesDir [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) |
The factory is a singleton object devoted to the creation of all the objects of Liblinphone that cannot be created by Linphone.Core itself.
It is also used to configure a few behaviors before creating the Linphone.Core, like the logs verbosity or collection.
|
inlinestatic |
Clean the factory.
This function is generally useless as the factory is unique per process, however calling this function at the end avoid getting reports from belle-sip leak detector about memory leaked in Linphone.Factory..
|
inline |
Computes the hashed version of the password given the user ID and the realm, using given algorithm.
| userid | the username or user ID to use. |
| password | the password to hash. |
| realm | the real to use. |
| algorithm | the algorithm to use (MD5 or SHA-256). |
|
inline |
Parse a string holding a SIP URI and create the according Linphone.Address object.
| addr | A string holding the SIP URI to parse. |
|
inline |
Creates a Linphone.AuthInfo object.
The object can be created empty, that is with all arguments set to null. Username, userid, password, realm and domain can be set later using specific methods. At the end, username and passwd (or ha1) are required.
| username | The username that needs to be authenticated |
| userid | The userid used for authenticating (use null if you don't know what it is) |
| passwd | The password in clear text |
| ha1 | The ha1-encrypted password if password is not given in clear text. |
| realm | The authentication domain (which can be larger than the sip domain. Unfortunately many SIP servers don't use this parameter. |
| domain | The SIP domain for which this authentication information is valid, if it has to be restricted for a single SIP domain. |
|
inline |
Creates a Linphone.AuthInfo object.
The object can be created empty, that is with all arguments set to null. Username, userid, password, realm and domain can be set later using specific methods. At the end, username and passwd (or ha1) are required.
| username | The username that needs to be authenticated |
| userid | The userid used for authenticating (use null if you don't know what it is) |
| passwd | The password in clear text |
| ha1 | The ha1-encrypted password if password is not given in clear text. |
| realm | The authentication domain (which can be larger than the sip domain. Unfortunately many SIP servers don't use this parameter. |
| domain | The SIP domain for which this authentication information is valid, if it has to be restricted for a single SIP domain. |
| algorithm | The algorithm for encrypting password. |
|
inline |
Creates a Linphone.AuthInfo object.
The object can be created empty, that is with all arguments set to null. Username, userid, password, realm and domain can be set later using specific methods. At the end, username and passwd (or ha1) are required.
| username | The username that needs to be authenticated |
| accessToken | An access token to send to authenticate |
| realm | The authentication domain (which can be larger than the sip domain. Unfortunately many SIP servers don't use this parameter. |
|
inline |
Create a new Linphone.BearerToken object.
The expiration time may be set to zero if unknown, in which case the Linphone.Core will anyway use the refresh token if an access token is rejected by a server.
| token | the token, as an opaque string. |
| expirationTime | the expiration time as the number of seconds since the Epoch, 1970-01-01 00:00:00 +0000 (UTC). |
|
inline |
Creates an object Linphone.Buffer.
|
inline |
Creates an object Linphone.Buffer.
| data | the data to set in the buffer |
| size | the size of the data |
|
inline |
Creates an object Linphone.Buffer.
| data | the data to set in the buffer |
|
inline |
Creates an object Linphone.ConferenceInfo.
|
inline |
Creates an object Linphone.ConferenceInfo from an Icalendar Linphone.Content.
| content | the Icalendar Linphone.Content |
|
inline |
|
inline |
|
inline |
Creates an object Linphone.Config.
| path | the path of the config |
| factoryPath | the path of the factory |
|
inline |
Creates an object Linphone.Content.
|
inline |
Creates a file object of Linphone.Content from a file path.
| filePath | the path of the file |
|
inline |
Instantiate a Linphone.Core object.
The Linphone.Core object is the primary handle for doing all phone actions. It should be unique within your application. The Linphone.Core object is not started automatically, you need to call Linphone.Core.Start() to that effect. The returned Linphone.Core will be in Linphone.GlobalState Ready. Core ressources can be released using Linphone.Core.Stop() which is strongly encouraged on garbage collected languages.
| configPath | A path to a config file. If it does not exists it will be created. The config file is used to store all settings, proxies... so that all these settings become persistent over the life of the Linphone.Core object. It is allowed to set a null config file. In that case Linphone.Core will not store any settings. |
| factoryConfigPath | A path to a read-only config file that can be used to store hard-coded preferences such as proxy settings or internal preferences. The settings in this factory file always override the ones in the normal config file. It is optional, use null if unneeded. |
| systemContext | A pointer to a system object required by the core to operate. Currently it is required to pass an android Context on android, pass null on other platforms. |
See : linphone_core_new_with_config_3()
|
inline |
Instantiate a Linphone.Core object with a given LinphoneConfig.
The Linphone.Core object is the primary handle for doing all phone actions. It should be unique within your application. The Linphone.Core object is not started automatically, you need to call Linphone.Core.Start() to that effect. The returned Linphone.Core will be in Linphone.GlobalState Ready. Core ressources can be released using Linphone.Core.Stop() which is strongly encouraged on garbage collected languages.
| config | A Linphone.Config object holding the configuration for the Linphone.Core to be instantiated. |
| systemContext | A pointer to a system object required by the core to operate. Currently it is required to pass an android Context on android, pass null on other platforms. |
|
inline |
Create a Linphone.DigestAuthenticationPolicy object.
The Linphone.DigestAuthenticationPolicy object which is used to configure a policy for digest authentication, such as allowing MD5 or mode without qop=auth.
|
inline |
Create an empty Linphone.EktInfo object.
|
inline |
Creates an object LinphoneErrorInfo.
|
inline |
Creates a new Linphone.FriendPhoneNumber object.
| phoneNumber | The phone number. |
| label | the type of phone number, for example "home", "cell", etc. Use null or empty for no label. |
|
inline |
Create a Linphone.ParticipantDeviceIdentity object.
| address | Linphone.Address object. |
| name | the name given to the device. |
|
inline |
Creates an object Linphone.ConferenceInfo from an Icalendar Linphone.Content.
| address | the Linphone.Address of the participant |
|
inline |
Creates a Bitmap QRCode and return it into an object Linphone.Content.
| code | The code to be generated into an image. It must not be empty. |
| width | The requested width of the QRCode image. It will be 100 if 0. |
| height | The requested height of the QRCode image. It will be 100 if 0. |
| margin | The requested margin of the QRCode image. |
|
inline |
Creates an object LinphoneRange.
|
inline |
Creates an object Linphone.SignalInformation.
|
inline |
Creates an object LinphoneTransports.
|
inline |
Creates an object Linphone.TunnelConfig.
|
inline |
Create an empty Linphone.Vcard.
|
inline |
Creates an object LinphoneVideoActivationPolicy.
|
inline |
Create a Linphone.VideoDefinition from a given width and height.
| width | The width of the created video definition |
| height | The height of the created video definition |
|
inline |
Create a Linphone.VideoDefinition from a given standard definition name.
| name | The standard definition name of the video definition to create |
|
inline |
Creates an object Linphone.VideoSourceDescriptor.
|
inline |
Enables or disables log collection.
| state | the Linphone.LogCollectionState for log collection |
|
inline |
Get the cache path.
| context | used to compute path. Can be null. JavaPlatformHelper on Android and char *appGroupId on iOS with shared core. |
|
inline |
Get the config path.
| context | used to compute path. Can be null. JavaPlatformHelper on Android and char *appGroupId on iOS with shared core. |
|
inline |
Get the data path.
| context | used to compute path. Can be null. JavaPlatformHelper on Android and char *appGroupId on iOS with shared core. |
|
inline |
Get the download path.
| context | used to compute path. Can be null. JavaPlatformHelper on Android and char *appGroupId on iOS with shared core. |
|
inline |
Indicates if the given LinphoneChatRoomBackend is available.
| chatroomBackend | the Linphone.ChatRoomBackend |
|
inline |
Select encryption module and set secret material to encrypt the files.
| encryptionModule | One of the available encryption module for VFS, pick in the LINPHONE_VFS_ENCRYPTION_* list if set to _UNSET, default bctoolbox VFS is switch to Standard one |
| secret | the secret material used to encrypt the files, can be null for the _PLAIN module |
| secretSize | size of the secret |
|
inline |
Creates a QRCode and write it into a JPEG file specified by file_path (only if build with JPEG).
| filePath | The file where to write the QRCode JPEG image. |
| code | The code to be generated into an image. It must not be empty. |
| width | The requested width of the QRCode image. It will be 100 if 0. |
| height | The requested height of the QRCode image. It will be 100 if 0. |
| margin | The requested margin of the QRCode image. |
|
set |
Set the directory where the application local cache is located.
If the path is empty (default value), the path will be computed when calling Linphone.Factory.DataDir
| path | The path to the directory where the application local cache is located |
|
set |
Set the directory where the configurations are located.
If the path is empty (default value), the path will be computed when calling Linphone.Factory.ConfigDir
| path | The path to the directory where the configurations are located |
|
set |
Set the directory where the application local data are located.
If the path is empty (default value), the path will be computed when calling Linphone.Factory.DataDir
| path | The path to the directory where the application local data are located |
|
getset |
Get the directory where the data resources are located.
|
get |
Returns a bctbx_list_t of all DialPlans.
|
set |
Set the directory where downloads are located.
If the path is empty (default value), the path will be computed when calling Linphone.Factory.DownloadDir
| path | The path to the directory where downloads are located |
|
getset |
Get the directory where the image resources are located.
|
staticget |
Create the Linphone.Factory if that has not been done and return a pointer on it.
|
get |
Test if cache dir has been set.
|
get |
Test if config dir has been set.
|
get |
Indicates if the storage in database is available.
|
get |
Test if data dir has been set.
|
get |
Test if download dir has been set.
|
get |
Indicates if IMDN are available.
|
get |
Indicates if the QRCode feature is available.
|
getset |
Get the directory where the liblinphone plugins are located.
|
set |
Sets the log collection path.
| path | the path of the logs |
|
getset |
Get the directory where the mediastreamer2 plugins are located.
|
get |
Get the recommended list of standard video definitions.
This list is suitable for a widest set of hardware for all video codec implementations, and thus excludes some very high definition formats that are unlikely to work unless specific hardware or codecs are used.
|
getset |
Get the directory where the ring resources are located.
|
getset |
Get the directory where the sound resources are located.
|
get |
Get the list of standard video definitions supported by Linphone.
|
getset |
Get the top directory where the resources are located.