• Api Documentation
Show / Hide Table of Contents
  • Linphone
    • Account
    • AccountCreator
    • AccountCreatorActivationCodeStatus
    • AccountCreatorAlgoStatus
    • AccountCreatorBackend
    • AccountCreatorDomainStatus
    • AccountCreatorEmailStatus
    • AccountCreatorLanguageStatus
    • AccountCreatorListener
    • AccountCreatorListener.OnAccountCreationRequestTokenDelegate
    • AccountCreatorListener.OnAccountCreationTokenUsingRequestTokenDelegate
    • AccountCreatorListener.OnActivateAccountDelegate
    • AccountCreatorListener.OnActivateAliasDelegate
    • AccountCreatorListener.OnCreateAccountDelegate
    • AccountCreatorListener.OnIsAccountActivatedDelegate
    • AccountCreatorListener.OnIsAccountExistDelegate
    • AccountCreatorListener.OnIsAccountLinkedDelegate
    • AccountCreatorListener.OnIsAliasUsedDelegate
    • AccountCreatorListener.OnLinkAccountDelegate
    • AccountCreatorListener.OnLoginLinphoneAccountDelegate
    • AccountCreatorListener.OnRecoverAccountDelegate
    • AccountCreatorListener.OnSendTokenDelegate
    • AccountCreatorListener.OnUpdateAccountDelegate
    • AccountCreatorPasswordStatus
    • AccountCreatorPhoneNumberStatus
    • AccountCreatorStatus
    • AccountCreatorTransportStatus
    • AccountCreatorUsernameStatus
    • AccountListener
    • AccountListener.OnRegistrationStateChangedDelegate
    • AccountParams
    • Address
    • AddressFamily
    • AudioDevice
    • AudioDeviceCapabilities
    • AudioDeviceType
    • AuthInfo
    • AuthMethod
    • AVPFMode
    • Buffer
    • Call
    • CallDir
    • CallListener
    • CallListener.OnAckProcessingDelegate
    • CallListener.OnAudioDeviceChangedDelegate
    • CallListener.OnCameraNotWorkingDelegate
    • CallListener.OnDtmfReceivedDelegate
    • CallListener.OnEncryptionChangedDelegate
    • CallListener.OnGoclearAckSentDelegate
    • CallListener.OnInfoMessageReceivedDelegate
    • CallListener.OnNextVideoFrameDecodedDelegate
    • CallListener.OnReceiveMasterKeyChangedDelegate
    • CallListener.OnRemoteRecordingDelegate
    • CallListener.OnSendMasterKeyChangedDelegate
    • CallListener.OnSnapshotTakenDelegate
    • CallListener.OnStateChangedDelegate
    • CallListener.OnStatsUpdatedDelegate
    • CallListener.OnTmmbrReceivedDelegate
    • CallListener.OnTransferStateChangedDelegate
    • CallListener.OnVideoDisplayErrorOccurredDelegate
    • CallLog
    • CallParams
    • CallState
    • CallStats
    • CallStatus
    • ChatMessage
    • ChatMessageDirection
    • ChatMessageListener
    • ChatMessageListener.OnEphemeralMessageDeletedDelegate
    • ChatMessageListener.OnEphemeralMessageTimerStartedDelegate
    • ChatMessageListener.OnFileTransferProgressIndicationDelegate
    • ChatMessageListener.OnFileTransferRecvDelegate
    • ChatMessageListener.OnFileTransferSendChunkDelegate
    • ChatMessageListener.OnFileTransferSendDelegate
    • ChatMessageListener.OnMsgStateChangedDelegate
    • ChatMessageListener.OnParticipantImdnStateChangedDelegate
    • ChatMessageState
    • ChatRoom
    • ChatRoomBackend
    • ChatRoomCapabilities
    • ChatRoomEncryptionBackend
    • ChatRoomEphemeralMode
    • ChatRoomListener
    • ChatRoomListener.OnChatMessageParticipantImdnStateChangedDelegate
    • ChatRoomListener.OnChatMessageReceivedDelegate
    • ChatRoomListener.OnChatMessageSendingDelegate
    • ChatRoomListener.OnChatMessageSentDelegate
    • ChatRoomListener.OnChatMessageShouldBeStoredDelegate
    • ChatRoomListener.OnChatMessagesReceivedDelegate
    • ChatRoomListener.OnConferenceAddressGenerationDelegate
    • ChatRoomListener.OnConferenceJoinedDelegate
    • ChatRoomListener.OnConferenceLeftDelegate
    • ChatRoomListener.OnEphemeralEventDelegate
    • ChatRoomListener.OnEphemeralMessageDeletedDelegate
    • ChatRoomListener.OnEphemeralMessageTimerStartedDelegate
    • ChatRoomListener.OnIsComposingReceivedDelegate
    • ChatRoomListener.OnMessageReceivedDelegate
    • ChatRoomListener.OnMessagesReceivedDelegate
    • ChatRoomListener.OnNewEventDelegate
    • ChatRoomListener.OnNewEventsDelegate
    • ChatRoomListener.OnParticipantAddedDelegate
    • ChatRoomListener.OnParticipantAdminStatusChangedDelegate
    • ChatRoomListener.OnParticipantDeviceAddedDelegate
    • ChatRoomListener.OnParticipantDeviceMediaAvailabilityChangedDelegate
    • ChatRoomListener.OnParticipantDeviceRemovedDelegate
    • ChatRoomListener.OnParticipantDeviceStateChangedDelegate
    • ChatRoomListener.OnParticipantRegistrationSubscriptionRequestedDelegate
    • ChatRoomListener.OnParticipantRegistrationUnsubscriptionRequestedDelegate
    • ChatRoomListener.OnParticipantRemovedDelegate
    • ChatRoomListener.OnSecurityEventDelegate
    • ChatRoomListener.OnStateChangedDelegate
    • ChatRoomListener.OnSubjectChangedDelegate
    • ChatRoomListener.OnUndecryptableMessageReceivedDelegate
    • ChatRoomParams
    • ChatRoomSecurityLevel
    • ChatRoomState
    • Conference
    • ConferenceInfo
    • ConferenceInfoState
    • ConferenceJoiningMode
    • ConferenceLayout
    • ConferenceListener
    • ConferenceListener.OnActiveSpeakerParticipantDeviceDelegate
    • ConferenceListener.OnAudioDeviceChangedDelegate
    • ConferenceListener.OnAvailableMediaChangedDelegate
    • ConferenceListener.OnParticipantAddedDelegate
    • ConferenceListener.OnParticipantAdminStatusChangedDelegate
    • ConferenceListener.OnParticipantDeviceAddedDelegate
    • ConferenceListener.OnParticipantDeviceIsMutedDelegate
    • ConferenceListener.OnParticipantDeviceIsSpeakingChangedDelegate
    • ConferenceListener.OnParticipantDeviceMediaAvailabilityChangedDelegate
    • ConferenceListener.OnParticipantDeviceMediaCapabilityChangedDelegate
    • ConferenceListener.OnParticipantDeviceRemovedDelegate
    • ConferenceListener.OnParticipantDeviceStateChangedDelegate
    • ConferenceListener.OnParticipantRemovedDelegate
    • ConferenceListener.OnStateChangedDelegate
    • ConferenceListener.OnSubjectChangedDelegate
    • ConferenceParams
    • ConferenceParticipantListType
    • ConferenceScheduler
    • ConferenceSchedulerListener
    • ConferenceSchedulerListener.OnInvitationsSentDelegate
    • ConferenceSchedulerListener.OnStateChangedDelegate
    • ConferenceSchedulerState
    • ConferenceState
    • Config
    • ConfiguringState
    • ConsolidatedPresence
    • Content
    • Core
    • Core.MSOglContextInfo
    • CoreListener
    • CoreListener.OnAccountRegistrationStateChangedDelegate
    • CoreListener.OnAudioDeviceChangedDelegate
    • CoreListener.OnAudioDevicesListUpdatedDelegate
    • CoreListener.OnAuthenticationRequestedDelegate
    • CoreListener.OnBuddyInfoUpdatedDelegate
    • CoreListener.OnCallCreatedDelegate
    • CoreListener.OnCallEncryptionChangedDelegate
    • CoreListener.OnCallGoclearAckSentDelegate
    • CoreListener.OnCallIdUpdatedDelegate
    • CoreListener.OnCallLogUpdatedDelegate
    • CoreListener.OnCallReceiveMasterKeyChangedDelegate
    • CoreListener.OnCallSendMasterKeyChangedDelegate
    • CoreListener.OnCallStateChangedDelegate
    • CoreListener.OnCallStatsUpdatedDelegate
    • CoreListener.OnChatRoomEphemeralMessageDeletedDelegate
    • CoreListener.OnChatRoomReadDelegate
    • CoreListener.OnChatRoomSessionStateChangedDelegate
    • CoreListener.OnChatRoomStateChangedDelegate
    • CoreListener.OnChatRoomSubjectChangedDelegate
    • CoreListener.OnConferenceInfoReceivedDelegate
    • CoreListener.OnConferenceStateChangedDelegate
    • CoreListener.OnConfiguringStatusDelegate
    • CoreListener.OnDtmfReceivedDelegate
    • CoreListener.OnEcCalibrationAudioInitDelegate
    • CoreListener.OnEcCalibrationAudioUninitDelegate
    • CoreListener.OnEcCalibrationResultDelegate
    • CoreListener.OnFirstCallStartedDelegate
    • CoreListener.OnFriendListCreatedDelegate
    • CoreListener.OnFriendListRemovedDelegate
    • CoreListener.OnGlobalStateChangedDelegate
    • CoreListener.OnImeeUserRegistrationDelegate
    • CoreListener.OnInfoReceivedDelegate
    • CoreListener.OnIsComposingReceivedDelegate
    • CoreListener.OnLastCallEndedDelegate
    • CoreListener.OnLogCollectionUploadProgressIndicationDelegate
    • CoreListener.OnLogCollectionUploadStateChangedDelegate
    • CoreListener.OnMessageReceivedDelegate
    • CoreListener.OnMessageReceivedUnableDecryptDelegate
    • CoreListener.OnMessageSentDelegate
    • CoreListener.OnMessagesReceivedDelegate
    • CoreListener.OnNetworkReachableDelegate
    • CoreListener.OnNewSubscriptionRequestedDelegate
    • CoreListener.OnNotifyPresenceReceivedDelegate
    • CoreListener.OnNotifyPresenceReceivedForUriOrTelDelegate
    • CoreListener.OnNotifyReceivedDelegate
    • CoreListener.OnNotifySentDelegate
    • CoreListener.OnPreviewDisplayErrorOccurredDelegate
    • CoreListener.OnPublishStateChangedDelegate
    • CoreListener.OnPushNotificationReceivedDelegate
    • CoreListener.OnQrcodeFoundDelegate
    • CoreListener.OnReferReceivedDelegate
    • CoreListener.OnRegistrationStateChangedDelegate
    • CoreListener.OnSubscribeReceivedDelegate
    • CoreListener.OnSubscriptionStateChangedDelegate
    • CoreListener.OnTransferStateChangedDelegate
    • CoreListener.OnVersionUpdateCheckResultReceivedDelegate
    • CoreLogCollectionUploadState
    • DialPlan
    • DigestAuthenticationPolicy
    • EcCalibratorStatus
    • ErrorInfo
    • Event
    • EventListener
    • EventListener.OnNotifyResponseDelegate
    • EventLog
    • EventLogType
    • Factory
    • Friend
    • FriendCapability
    • FriendList
    • FriendListener
    • FriendListener.OnPresenceReceivedDelegate
    • FriendListListener
    • FriendListListener.OnContactCreatedDelegate
    • FriendListListener.OnContactDeletedDelegate
    • FriendListListener.OnContactUpdatedDelegate
    • FriendListListener.OnPresenceReceivedDelegate
    • FriendListListener.OnSyncStatusChangedDelegate
    • FriendListStatus
    • FriendListSyncStatus
    • FriendListType
    • FriendPhoneNumber
    • GlobalState
    • Headers
    • IceState
    • ImNotifPolicy
    • InfoMessage
    • Ldap
    • LdapAuthMethod
    • LdapCertVerificationMode
    • LdapCheck
    • LdapDebugLevel
    • LdapParams
    • LimeState
    • LinphoneException
    • LinphoneObject
    • LinphoneWrapper
    • LogCollectionState
    • LoggingService
    • LoggingServiceListener
    • LoggingServiceListener.OnLogMessageWrittenDelegate
    • LogLevel
    • MagicSearch
    • MagicSearchAggregation
    • MagicSearchListener
    • MagicSearchListener.OnLdapHaveMoreResultsDelegate
    • MagicSearchListener.OnSearchResultsReceivedDelegate
    • MagicSearchSource
    • MediaDirection
    • MediaEncryption
    • MediaResourceMode
    • MediastreamerFactory
    • NatPolicy
    • Participant
    • ParticipantDevice
    • ParticipantDeviceDisconnectionMethod
    • ParticipantDeviceIdentity
    • ParticipantDeviceJoiningMethod
    • ParticipantDeviceListener
    • ParticipantDeviceListener.OnIsMutedDelegate
    • ParticipantDeviceListener.OnIsSpeakingChangedDelegate
    • ParticipantDeviceListener.OnStateChangedDelegate
    • ParticipantDeviceListener.OnStreamAvailabilityChangedDelegate
    • ParticipantDeviceListener.OnStreamCapabilityChangedDelegate
    • ParticipantDeviceListener.OnVideoDisplayErrorOccurredDelegate
    • ParticipantDeviceState
    • ParticipantImdnState
    • PayloadType
    • Player
    • PlayerListener
    • PlayerListener.OnEofReachedDelegate
    • PlayerState
    • PresenceActivity
    • PresenceActivityType
    • PresenceBasicStatus
    • PresenceModel
    • PresenceNote
    • PresencePerson
    • PresenceService
    • Privacy
    • ProxyConfig
    • PublishState
    • PushNotificationConfig
    • PushNotificationMessage
    • Range
    • Reason
    • Recorder
    • RecorderFileFormat
    • RecorderParams
    • RecorderState
    • RegistrationState
    • SearchResult
    • SecurityEventType
    • SessionExpiresRefresher
    • SrtpSuite
    • StreamType
    • SubscribePolicy
    • SubscriptionDir
    • SubscriptionState
    • SupportLevel
    • ToneID
    • Transports
    • TransportType
    • Tunnel
    • TunnelConfig
    • TunnelMode
    • UpnpState
    • Vcard
    • VersionUpdateCheckResult
    • VideoActivationPolicy
    • VideoDefinition
    • VideoSourceDescriptor
    • VideoSourceType
    • XmlRpcArgType
    • XmlRpcRequest
    • XmlRpcRequestListener
    • XmlRpcRequestListener.OnResponseDelegate
    • XmlRpcSession
    • XmlRpcStatus
    • ZrtpKeyAgreement
    • ZrtpPeerStatus

Class AccountCreator

The object used to configure an account on a server via XML-RPC, see https://wiki.linphone.org/xwiki/wiki/public/view/Lib/Features/Override%20account%20creator%20request/.

Inheritance
System.Object
LinphoneObject
AccountCreator
Inherited Members
LinphoneObject.StringArrayToBctbxList(IEnumerable<String>)
LinphoneObject.CleanStringArrayPtrs()
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Linphone
Assembly: cs.temp.dll.dll
Syntax
public class AccountCreator : LinphoneObject

Properties

AccountCreationRequestToken

Get the account creation request token received to be used to check user validation.

Declaration
public string AccountCreationRequestToken { get; set; }
Property Value
Type Description
System.String

The token set, if any

ActivationCode

Get the activation code.

Declaration
public string ActivationCode { get; set; }
Property Value
Type Description
System.String

The activation code of the AccountCreator.

Algorithm

Get the algorithm configured in the account creator.

Declaration
public string Algorithm { get; set; }
Property Value
Type Description
System.String

The algorithm of the AccountCreator.

AsDefault

Set the set_as_default property.

Declaration
public bool AsDefault { set; }
Property Value
Type Description
System.Boolean

RequestOk if everything is OK, or a specific error otherwise.

DisplayName

Get the display name.

Declaration
public string DisplayName { get; set; }
Property Value
Type Description
System.String

The display name of the AccountCreator.

Domain

Get the domain.

Declaration
public string Domain { get; set; }
Property Value
Type Description
System.String

The domain of the AccountCreator.

Email

Get the email.

Declaration
public string Email { get; set; }
Property Value
Type Description
System.String

The email of the AccountCreator.

Ha1

Get the ha1.

Declaration
public string Ha1 { get; set; }
Property Value
Type Description
System.String

The ha1 of the AccountCreator.

Language

Get the language use in email of SMS.

Declaration
public string Language { get; set; }
Property Value
Type Description
System.String

The language of the AccountCreator.

Listener

Declaration
public AccountCreatorListener Listener { get; set; }
Property Value
Type Description
AccountCreatorListener

Password

Get the password.

Declaration
public string Password { get; set; }
Property Value
Type Description
System.String

The password of the AccountCreator.

PhoneCountryCode

Get the international prefix.

Declaration
public string PhoneCountryCode { get; }
Property Value
Type Description
System.String

The international prefix (or phone country code) of the AccountCreator.

PhoneNumber

Get the RFC 3966 normalized phone number.

Declaration
public string PhoneNumber { get; }
Property Value
Type Description
System.String

The phone number of the AccountCreator.

PnParam

Get the param to be used by the backend to send the push notification to the device asking for an auth token.

Declaration
public string PnParam { get; set; }
Property Value
Type Description
System.String

The pn_param set, if any

PnPrid

Get the prid to be used by the backend to send the push notification to the device asking for an auth token.

Declaration
public string PnPrid { get; set; }
Property Value
Type Description
System.String

The pn_prid set, if any

PnProvider

Get the provider to be used by the backend to send the push notification to the device asking for an auth token.

Declaration
public string PnProvider { get; set; }
Property Value
Type Description
System.String

The pn_provider set, if any

ProxyConfig

Assign a proxy config pointer to the LinphoneAccountCreator.

Declaration
public ProxyConfig ProxyConfig { set; }
Property Value
Type Description
ProxyConfig

Route

Get the route.

Declaration
public string Route { get; set; }
Property Value
Type Description
System.String

The route of the AccountCreator.

SetAsDefault

Get the set_as_default property.

Declaration
public bool SetAsDefault { get; }
Property Value
Type Description
System.Boolean

true if account will be set as default, false otherwise.

Token

Get the authentication token set (if any) to be used to authenticate next queries, if required.

Declaration
public string Token { get; set; }
Property Value
Type Description
System.String

The token set, if any

Transport

Get Transport.

Declaration
public TransportType Transport { get; set; }
Property Value
Type Description
TransportType

The TransportType of the creator.

Username

Get the username.

Declaration
public string Username { get; set; }
Property Value
Type Description
System.String

The username of the AccountCreator.

Methods

ActivateAccount()

Send a request to activate an account on server.

Declaration
public AccountCreatorStatus ActivateAccount()
Returns
Type Description
AccountCreatorStatus

RequestOk if the request has been sent, RequestFailed otherwise

ActivateAlias()

Send a request to activate an alias.

Declaration
public AccountCreatorStatus ActivateAlias()
Returns
Type Description
AccountCreatorStatus

RequestOk if the request has been sent, RequestFailed otherwise

Create(Core)

Create a AccountCreator and set Linphone Request callbacks.

Declaration
public static AccountCreator Create(Core core)
Parameters
Type Name Description
Core core

The Core used for the XML-RPC communication

Returns
Type Description
AccountCreator

The new AccountCreator object.

CreateAccount()

Send a request to create an account on server.

Declaration
public AccountCreatorStatus CreateAccount()
Returns
Type Description
AccountCreatorStatus

RequestOk if the request has been sent, RequestFailed otherwise

CreateAccountInCore()

Create and configure a Account and a AuthInfo from informations set in the AccountCreator.

Declaration
public Account CreateAccountInCore()
Returns
Type Description
Account

A Account object if successful, null otherwise.

CreateProxyConfig()

Create and configure a proxy config and a authentication info for an account creator.

Declaration
public ProxyConfig CreateProxyConfig()
Returns
Type Description
ProxyConfig

A ProxyConfig object if successful, null otherwise.

IsAccountActivated()

Send a request to know if an account is activated on server.

Declaration
public AccountCreatorStatus IsAccountActivated()
Returns
Type Description
AccountCreatorStatus

RequestOk if the request has been sent, RequestFailed otherwise

IsAccountExist()

Send a request to know the existence of account on server.

Declaration
public AccountCreatorStatus IsAccountExist()
Returns
Type Description
AccountCreatorStatus

RequestOk if the request has been sent, RequestFailed otherwise

IsAccountLinked()

Send a request to know if an account is linked.

Declaration
public AccountCreatorStatus IsAccountLinked()
Returns
Type Description
AccountCreatorStatus

RequestOk if the request has been sent, RequestFailed otherwise

IsAliasUsed()

Send a request to know if an alias is used.

Declaration
public AccountCreatorStatus IsAliasUsed()
Returns
Type Description
AccountCreatorStatus

RequestOk if the request has been sent, RequestFailed otherwise

LinkAccount()

Send a request to link an account to an alias.

Declaration
public AccountCreatorStatus LinkAccount()
Returns
Type Description
AccountCreatorStatus

RequestOk if the request has been sent, RequestFailed otherwise

LoginLinphoneAccount()

Send a request to get the password & algorithm of an account using the confirmation key.

Declaration
public AccountCreatorStatus LoginLinphoneAccount()
Returns
Type Description
AccountCreatorStatus

RequestOk if everything is OK, or a specific error otherwise.

RecoverAccount()

Send a request to recover an account.

Declaration
public AccountCreatorStatus RecoverAccount()
Returns
Type Description
AccountCreatorStatus

RequestOk if the request has been sent, RequestFailed otherwise

RequestAccountCreationRequestToken()

Request an account creation "request_token" to be used on account creations.

The request_token is retrieved from the callback linphone_account_creator_cbs_get_account_creation_request_token

Declaration
public AccountCreatorStatus RequestAccountCreationRequestToken()
Returns
Type Description
AccountCreatorStatus

RequestOk if everything is OK, or a specific error otherwise.

RequestAccountCreationTokenUsingRequestToken()

Send a request to get a token to be used for account creation from a request_token.

The token is retrieved from the callback linphone_account_creator_cbs_get_account_creation_token_using_request_token

Declaration
public AccountCreatorStatus RequestAccountCreationTokenUsingRequestToken()
Returns
Type Description
AccountCreatorStatus

RequestOk if the request has been sent, RequestFailed otherwise

RequestAuthToken()

Request an auth token to be send by the backend by push notification.

Declaration
public AccountCreatorStatus RequestAuthToken()
Returns
Type Description
AccountCreatorStatus

RequestOk if everything is OK, or a specific error otherwise.

Reset()

Reset the account creator entries like username, password, phone number...

Declaration
public void Reset()

SetPhoneNumber(String, String)

Set the phone number normalized.

Declaration
public uint SetPhoneNumber(string phoneNumber, string countryCode)
Parameters
Type Name Description
System.String phoneNumber

The phone number to set

System.String countryCode

Country code to associate phone number with

Returns
Type Description
System.UInt32

Ok if everything is OK, or specific(s) error(s) otherwise.

UpdateAccount()

Send a request to update an account.

Declaration
public AccountCreatorStatus UpdateAccount()
Returns
Type Description
AccountCreatorStatus

RequestOk if the request has been sent, RequestFailed otherwise

UseTestAdminAccount()

Require the account creator to use special "test admin account".

Declaration
public void UseTestAdminAccount()
Remarks

Warning : The "test admin account" is a special feature required for automated test, and requires the APP_EVERYONE_IS_ADMIN property to be enabled on the remote Flexisip Account Manager (FlexiAPI). This feature must never be turned on for a production-stage app.

In This Article
Back to top Generated by DocFX