• 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
    • AccountDevice
    • AccountListener
    • AccountListener.OnConferenceInformationUpdatedDelegate
    • AccountListener.OnMessageWaitingIndicationChangedDelegate
    • AccountListener.OnRegistrationStateChangedDelegate
    • AccountManagerServices
    • AccountManagerServicesRequest
    • AccountManagerServicesRequestListener
    • AccountManagerServicesRequestListener.OnDevicesListFetchedDelegate
    • AccountManagerServicesRequestListener.OnRequestErrorDelegate
    • AccountManagerServicesRequestListener.OnRequestSuccessfulDelegate
    • AccountManagerServicesRequestType
    • AccountParams
    • Address
    • AddressFamily
    • Alert
    • AlertListener
    • AlertListener.OnTerminatedDelegate
    • AlertType
    • AudioDevice
    • AudioDeviceCapabilities
    • AudioDeviceType
    • AuthInfo
    • AuthMethod
    • AVPFMode
    • BaudotMode
    • BaudotStandard
    • BearerToken
    • Buffer
    • Call
    • CallDir
    • CallListener
    • CallListener.OnAckProcessingDelegate
    • CallListener.OnAudioDeviceChangedDelegate
    • CallListener.OnAuthenticationTokenVerifiedDelegate
    • CallListener.OnBaudotDetectedDelegate
    • CallListener.OnCameraNotWorkingDelegate
    • CallListener.OnDtmfReceivedDelegate
    • CallListener.OnEncryptionChangedDelegate
    • CallListener.OnGoclearAckSentDelegate
    • CallListener.OnInfoMessageReceivedDelegate
    • CallListener.OnNextVideoFrameDecodedDelegate
    • CallListener.OnReceiveMasterKeyChangedDelegate
    • CallListener.OnReferRequestedDelegate
    • CallListener.OnRemoteRecordingDelegate
    • CallListener.OnSecurityLevelDowngradedDelegate
    • CallListener.OnSendMasterKeyChangedDelegate
    • CallListener.OnSnapshotTakenDelegate
    • CallListener.OnStateChangedDelegate
    • CallListener.OnStatsUpdatedDelegate
    • CallListener.OnTmmbrReceivedDelegate
    • CallListener.OnTransferStateChangedDelegate
    • CallListener.OnVideoDisplayErrorOccurredDelegate
    • CallLog
    • CallParams
    • CallState
    • CallStats
    • CallStatus
    • CardDavParams
    • ChatMessage
    • ChatMessageDirection
    • ChatMessageListener
    • ChatMessageListener.OnEphemeralMessageDeletedDelegate
    • ChatMessageListener.OnEphemeralMessageTimerStartedDelegate
    • ChatMessageListener.OnFileTransferProgressIndicationDelegate
    • ChatMessageListener.OnFileTransferRecvDelegate
    • ChatMessageListener.OnFileTransferSendChunkDelegate
    • ChatMessageListener.OnFileTransferSendDelegate
    • ChatMessageListener.OnFileTransferTerminatedDelegate
    • ChatMessageListener.OnMsgStateChangedDelegate
    • ChatMessageListener.OnNewMessageReactionDelegate
    • ChatMessageListener.OnParticipantImdnStateChangedDelegate
    • ChatMessageListener.OnReactionRemovedDelegate
    • ChatMessageReaction
    • ChatMessageState
    • ChatParams
    • ChatRoom
    • ChatRoomBackend
    • ChatRoomCapabilities
    • ChatRoomEncryptionBackend
    • ChatRoomEphemeralMode
    • ChatRoomHistoryFilter
    • ChatRoomListener
    • ChatRoomListener.OnChatMessageParticipantImdnStateChangedDelegate
    • ChatRoomListener.OnChatMessageReceivedDelegate
    • ChatRoomListener.OnChatMessageSendingDelegate
    • ChatRoomListener.OnChatMessageSentDelegate
    • ChatRoomListener.OnChatMessageShouldBeStoredDelegate
    • ChatRoomListener.OnChatMessagesReceivedDelegate
    • ChatRoomListener.OnChatRoomReadDelegate
    • ChatRoomListener.OnConferenceAddressGenerationDelegate
    • ChatRoomListener.OnConferenceJoinedDelegate
    • ChatRoomListener.OnConferenceLeftDelegate
    • ChatRoomListener.OnEphemeralEventDelegate
    • ChatRoomListener.OnEphemeralMessageDeletedDelegate
    • ChatRoomListener.OnEphemeralMessageTimerStartedDelegate
    • ChatRoomListener.OnIsComposingReceivedDelegate
    • ChatRoomListener.OnMessageReceivedDelegate
    • ChatRoomListener.OnMessagesReceivedDelegate
    • ChatRoomListener.OnNewEventDelegate
    • ChatRoomListener.OnNewEventsDelegate
    • ChatRoomListener.OnNewMessageReactionDelegate
    • 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
    • CodecPriorityPolicy
    • Conference
    • ConferenceInfo
    • ConferenceInfoState
    • ConferenceJoiningMode
    • ConferenceLayout
    • ConferenceListener
    • ConferenceListener.OnActiveSpeakerParticipantDeviceDelegate
    • ConferenceListener.OnAllowedParticipantListChangedDelegate
    • ConferenceListener.OnAudioDeviceChangedDelegate
    • ConferenceListener.OnAvailableMediaChangedDelegate
    • ConferenceListener.OnFullStateReceivedDelegate
    • ConferenceListener.OnParticipantAddedDelegate
    • ConferenceListener.OnParticipantAdminStatusChangedDelegate
    • ConferenceListener.OnParticipantDeviceAddedDelegate
    • ConferenceListener.OnParticipantDeviceIsMutedDelegate
    • ConferenceListener.OnParticipantDeviceIsSpeakingChangedDelegate
    • ConferenceListener.OnParticipantDeviceJoiningRequestDelegate
    • ConferenceListener.OnParticipantDeviceMediaAvailabilityChangedDelegate
    • ConferenceListener.OnParticipantDeviceMediaCapabilityChangedDelegate
    • ConferenceListener.OnParticipantDeviceRemovedDelegate
    • ConferenceListener.OnParticipantDeviceScreenSharingChangedDelegate
    • ConferenceListener.OnParticipantDeviceStateChangedDelegate
    • ConferenceListener.OnParticipantRemovedDelegate
    • ConferenceListener.OnParticipantRoleChangedDelegate
    • ConferenceListener.OnStateChangedDelegate
    • ConferenceListener.OnSubjectChangedDelegate
    • ConferenceParams
    • ConferenceParticipantListType
    • ConferenceScheduler
    • ConferenceSchedulerListener
    • ConferenceSchedulerListener.OnInvitationsSentDelegate
    • ConferenceSchedulerListener.OnStateChangedDelegate
    • ConferenceSchedulerState
    • ConferenceSchedulerType
    • ConferenceSecurityLevel
    • ConferenceState
    • Config
    • ConfiguringState
    • ConsolidatedPresence
    • Content
    • Core
    • Core.MSOglContextInfo
    • CoreListener
    • CoreListener.OnAccountAddedDelegate
    • CoreListener.OnAccountRegistrationStateChangedDelegate
    • CoreListener.OnAccountRemovedDelegate
    • 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.OnDefaultAccountChangedDelegate
    • 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.OnMessageWaitingIndicationChangedDelegate
    • CoreListener.OnNetworkReachableDelegate
    • CoreListener.OnNewAlertTriggeredDelegate
    • CoreListener.OnNewMessageReactionDelegate
    • CoreListener.OnNewSubscriptionRequestedDelegate
    • CoreListener.OnNotifyPresenceReceivedDelegate
    • CoreListener.OnNotifyPresenceReceivedForUriOrTelDelegate
    • CoreListener.OnNotifyReceivedDelegate
    • CoreListener.OnNotifySentDelegate
    • CoreListener.OnPreviewDisplayErrorOccurredDelegate
    • CoreListener.OnPublishReceivedDelegate
    • CoreListener.OnPublishStateChangedDelegate
    • CoreListener.OnPushNotificationReceivedDelegate
    • CoreListener.OnQrcodeFoundDelegate
    • CoreListener.OnReactionRemovedDelegate
    • CoreListener.OnReferReceivedDelegate
    • CoreListener.OnRegistrationStateChangedDelegate
    • CoreListener.OnRemainingNumberOfFileTransferChangedDelegate
    • CoreListener.OnSnapshotTakenDelegate
    • CoreListener.OnSubscribeReceivedDelegate
    • CoreListener.OnSubscriptionStateChangedDelegate
    • CoreListener.OnTransferStateChangedDelegate
    • CoreListener.OnVersionUpdateCheckResultReceivedDelegate
    • CoreLogCollectionUploadState
    • DialPlan
    • Dictionary
    • DigestAuthenticationPolicy
    • EcCalibratorStatus
    • EktInfo
    • ErrorInfo
    • Event
    • EventListener
    • EventListener.OnNotifyReceivedDelegate
    • EventListener.OnNotifyResponseDelegate
    • EventListener.OnPublishReceivedDelegate
    • EventListener.OnPublishStateChangedDelegate
    • EventListener.OnSubscribeReceivedDelegate
    • EventListener.OnSubscribeStateChangedDelegate
    • EventLog
    • EventLogType
    • Factory
    • Friend
    • FriendCapability
    • FriendDevice
    • FriendList
    • FriendListener
    • FriendListener.OnPresenceReceivedDelegate
    • FriendListListener
    • FriendListListener.OnContactCreatedDelegate
    • FriendListListener.OnContactDeletedDelegate
    • FriendListListener.OnContactUpdatedDelegate
    • FriendListListener.OnNewSipAddressDiscoveredDelegate
    • 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.OnMoreResultsAvailableDelegate
    • MagicSearchListener.OnSearchResultsReceivedDelegate
    • MagicSearchSource
    • MediaDirection
    • MediaEncryption
    • MediaFileFormat
    • MediaResourceMode
    • MediastreamerFactory
    • MessageWaitingIndication
    • MessageWaitingIndicationContextClass
    • MessageWaitingIndicationSummary
    • NatPolicy
    • Participant
    • ParticipantDevice
    • ParticipantDeviceDisconnectionMethod
    • ParticipantDeviceIdentity
    • ParticipantDeviceJoiningMethod
    • ParticipantDeviceListener
    • ParticipantDeviceListener.OnIsMutedDelegate
    • ParticipantDeviceListener.OnIsSpeakingChangedDelegate
    • ParticipantDeviceListener.OnScreenSharingChangedDelegate
    • ParticipantDeviceListener.OnStateChangedDelegate
    • ParticipantDeviceListener.OnStreamAvailabilityChangedDelegate
    • ParticipantDeviceListener.OnStreamCapabilityChangedDelegate
    • ParticipantDeviceListener.OnThumbnailStreamAvailabilityChangedDelegate
    • ParticipantDeviceListener.OnThumbnailStreamCapabilityChangedDelegate
    • ParticipantDeviceListener.OnVideoDisplayErrorOccurredDelegate
    • ParticipantDeviceState
    • ParticipantImdnState
    • ParticipantInfo
    • ParticipantRole
    • PayloadType
    • Player
    • PlayerListener
    • PlayerListener.OnEofReachedDelegate
    • PlayerState
    • PresenceActivity
    • PresenceActivityType
    • PresenceBasicStatus
    • PresenceModel
    • PresenceNote
    • PresencePerson
    • PresenceService
    • Privacy
    • ProxyConfig
    • PublishState
    • PushNotificationConfig
    • PushNotificationMessage
    • Range
    • Reason
    • Recorder
    • RecorderParams
    • RecorderState
    • RegistrationState
    • RemoteContactDirectory
    • RemoteContactDirectoryType
    • SearchDirection
    • SearchResult
    • SecurityEventType
    • SecurityLevel
    • SessionExpiresRefresher
    • SignalInformation
    • SignalStrengthUnit
    • SignalType
    • SrtpSuite
    • StreamType
    • SubscribePolicy
    • SubscriptionDir
    • SubscriptionState
    • SupportLevel
    • ToneID
    • Transports
    • TransportType
    • Tunnel
    • TunnelConfig
    • TunnelMode
    • UpnpState
    • Vcard
    • VersionUpdateCheckResult
    • VideoActivationPolicy
    • VideoDefinition
    • VideoSourceDescriptor
    • VideoSourceScreenSharingType
    • VideoSourceType
    • XmlRpcArgType
    • XmlRpcRequest
    • XmlRpcRequestListener
    • XmlRpcRequestListener.OnResponseDelegate
    • XmlRpcSession
    • XmlRpcStatus
    • ZrtpKeyAgreement
    • ZrtpPeerStatus

Class Call

This object represents a call issued or received by the Linphone.Core.

Linphone only allows at most one active call at any given time and it will be in Linphone.CallState.StreamsRunning. However, if the core is locally hosting a Linphone.Conference, you may have some or all the calls in the conference in Linphone.CallState.StreamsRunning as well as an additional active call outside of the conference in Linphone.CallState.StreamsRunning if the local participant of the Linphone.Conference is not part of it. You can get the Linphone.CallState of the call using Linphone.Call.State, it's current Linphone.CallParams with Linphone.Call.CurrentParams and the latest statistics by calling Linphone.Call.AudioStats or Linphone.Call.VideoStats. The application can receive the various kind of events occuring in a call through the Linphone.CallListener interface, see also Linphone.Call.AddListener().

Inheritance
System.Object
LinphoneObject
Call
Inherited Members
LinphoneObject.linphone_pointer_to_string(IntPtr)
LinphoneObject.linphone_string_to_pointer(String)
LinphoneObject.StringArrayToBctbxList(IEnumerable<String>)
LinphoneObject.CleanStringArrayPtrs(IntPtr)
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 Call : LinphoneObject

Properties

AudioStats

Returns a copy of the call statistics for the audio stream.

Declaration
public CallStats AudioStats { get; }
Property Value
Type Description
CallStats

a Linphone.CallStats object for the audio stream or null if it isn't available.

AuthenticationToken

Returns the ZRTP authentication token to verify.

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

the authentication token to verify or null if ZRTP isn't enabled.

AuthenticationTokenVerified

Returns whether ZRTP authentication token is verified.

If not, it must be verified by users as described in ZRTP procedure. Once done, the application must inform of the results with Linphone.Call.AuthenticationTokenVerified.

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

true if authentication token is verifed, false otherwise.

AverageQuality

Returns call quality averaged over all the duration of the call.

See Linphone.Call.CurrentQuality for more details about quality measurement.

Declaration
public float AverageQuality { get; }
Property Value
Type Description
System.Single

the call average quality since tbe beginning of the call.

BaudotDetectionEnabled

Indicates whether received Baudot tones should be detected.

The Baudot functionality is to be enabled first by calling Linphone.Core.EnableBaudot().

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

BaudotMode

Defines the Baudot mode for the call.

The Baudot functionality is to be enabled first by calling Linphone.Core.EnableBaudot().

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

BaudotPauseTimeout

Set the Baudot significant pause timeout after which a LETTERS tone is retransmitted before resuming transmission (in seconds).

Default is 5s. The Baudot functionality is to be enabled first by calling Linphone.Core.EnableBaudot().

Declaration
public uint BaudotPauseTimeout { set; }
Property Value
Type Description
System.UInt32

BaudotSendingStandard

Defines the Baudot standard to use for sending Baudot tones in the call.

The Baudot functionality is to be enabled first by calling Linphone.Core.EnableBaudot().

Declaration
public BaudotStandard BaudotSendingStandard { set; }
Property Value
Type Description
BaudotStandard

CallLog

Gets the call log associated to this call.

Declaration
public CallLog CallLog { get; }
Property Value
Type Description
CallLog

The Linphone.CallLog associated with the specified Linphone.Call.

CameraEnabled

Returns if camera pictures are allowed to be sent to the remote party.

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

true if local video stream is being sent, false otherwise.

ChatRoom

Obtain a chat room for real time messaging from a call if not already existing, else return existing one.

No reference is given to the caller: the chat room will be deleted when the call is ended. The call must have been accepted with a real time text stream (see Linphone.CallParams.EnableRealtimeText()).

Declaration
public ChatRoom ChatRoom { get; }
Property Value
Type Description
ChatRoom

Linphone.ChatRoom where real time messaging can take place or null if chat room couldn't be created.

Conference

Returns the associated conference object if any.

Declaration
public Conference Conference { get; }
Property Value
Type Description
Conference

A pointer on Linphone.Conference or null if the call is not part of any conference.

Core

Gets the core that has created the specified call.

Declaration
public Core Core { get; }
Property Value
Type Description
Core

The Linphone.Core object that has created the specified call.

CurrentParams

Returns current parameters associated to the call.

Declaration
public CallParams CurrentParams { get; }
Property Value
Type Description
CallParams

the current Linphone.CallParams of this call.

CurrentQuality

Obtains real-time quality rating of the call.

Based on local RTP statistics and RTCP feedback, a quality rating is computed and updated during all the duration of the call. This function returns its value at the time of the function call. It is expected that the rating is updated at least every 5 seconds or so. The rating is a floating point number comprised between 0 and 5. 4-5 = good quality 3-4 = average quality 2-3 = poor quality 1-2 = very poor quality 0-1 = can't be worse, mostly unusable

Declaration
public float CurrentQuality { get; }
Property Value
Type Description
System.Single

The function returns -1 if no quality measurement is available, for example if no active audio stream exist. Otherwise it returns the quality rating.

Dir

Returns direction of the call (incoming or outgoing).

Declaration
public CallDir Dir { get; }
Property Value
Type Description
CallDir

the Linphone.CallDir

DiversionAddress

Returns the diversion address associated to this call.

Declaration
public Address DiversionAddress { get; }
Property Value
Type Description
Address

the diversion address as Linphone.Address or null.

Duration

Returns call's duration in seconds.

Declaration
public int Duration { get; }
Property Value
Type Description
System.Int32

the call's duration in seconds.

EchoCancellationEnabled

Returns if echo cancellation is enabled.

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

true if echo cancellation is enabled, false otherwise.

Remarks

See : Linphone.Core.EnableEchoCancellation().

EchoLimiterEnabled

Returns if echo limiter is enabled.

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

true if echo limiter is enabled, false otherwise.

Remarks

See : Linphone.Core.EnableEchoLimiter().

ErrorInfo

Returns full details about call errors or termination reasons.

Declaration
public ErrorInfo ErrorInfo { get; }
Property Value
Type Description
ErrorInfo

Linphone.ErrorInfo object holding the reason error.

InputAudioDevice

Gets the current input device for this call.

Declaration
public AudioDevice InputAudioDevice { get; set; }
Property Value
Type Description
AudioDevice

the Linphone.AudioDevice used by this call as input or null if there is currently no soundcard configured (depending on the state of the call)

IsRecording

Returns whether or not the call is currently being recorded.

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

true if recording is in progress, false otherwise

Listener

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

LocalAuthenticationToken

Returns the local ZRTP authentication token to verify by the remote.

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

the local authentication token to verify or null if ZRTP isn't enabled.

LocalTag

Returns the local tag of the Linphone.Call.

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

the local tag.

MicrophoneMuted

Gets microphone muted state.

Note that the microphone may be disabled globally if false was given to Linphone.Core.EnableMic().

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

The microphone muted state.

Remarks

Warning : This method returns state of the mute capability of the call passed as argument. If this call is part of a conference, it is strongly recommended to call Linphone.Conference.MicrophoneMuted to know whether this device is muted or not.

MicrophoneVolumeGain

Gets microphone volume gain.

If the sound backend supports it, the returned gain is equal to the gain set with the system mixer.

Declaration
public float MicrophoneVolumeGain { get; set; }
Property Value
Type Description
System.Single

double Percentage of the max supported volume gain. Valid values are in [ 0.0 : 1.0 ]. In case of failure, a negative value is returned

NativeVideoWindowId

Get the native window handle of the video window, casted as an unsigned long.

Declaration
public IntPtr NativeVideoWindowId { get; set; }
Property Value
Type Description
System.IntPtr

the native video window id (type may vary depending on platform).

Remarks

See : linphone_core_set_native_video_window_id for a general discussion about window IDs.

NativeVideoWindowIdString

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

OutputAudioDevice

Gets the current output device for this call.

Declaration
public AudioDevice OutputAudioDevice { get; set; }
Property Value
Type Description
AudioDevice

the Linphone.AudioDevice used by this call as output or null if there is currently no soundcard configured (depending on the state of the call)

Params

Returns read-only local parameters associated with the call.

This is typically the parameters passed at call initiation to Linphone.Core.InviteAddressWithParams() or Linphone.Call.AcceptWithParams(), or some default parameters if no Linphone.CallParams was explicitely passed during call initiation.

Declaration
public CallParams Params { get; set; }
Property Value
Type Description
CallParams

the call's local parameters.

Player

Gets a player associated with the call to play a local file and stream it to the remote peer.

Declaration
public Player Player { get; }
Property Value
Type Description
Player

A Linphone.Player object.

PlayVolume

Gets the mesured playback volume level (received from remote) in dbm0.

Declaration
public float PlayVolume { get; }
Property Value
Type Description
System.Single

float Volume level in percentage.

Reason

Returns the reason for a call termination (either error or normal termination)

Declaration
public Reason Reason { get; }
Property Value
Type Description
Reason

the Linphone.Reason of the call termination.

RecordVolume

Gets the mesured record volume level (sent to remote) in dbm0.

Declaration
public float RecordVolume { get; }
Property Value
Type Description
System.Single

float Volume level in percentage.

ReferredByAddress

Gets the referred-by address, which is set when an incoming call is received as a consequence of a call transfer operation by a third party.

The referred-by address is the sip identity of the one who initiated the transfer.

Declaration
public Address ReferredByAddress { get; }
Property Value
Type Description
Address

The referred-by address

ReferTo

Gets the refer-to uri (if the call was transferred).

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

The refer-to uri of the call (if it was transferred).

ReferToAddress

Gets the refer-to uri (if the call was transferred).

Declaration
public Address ReferToAddress { get; }
Property Value
Type Description
Address

The refer-to uri of the call (if it was transferred).

RemoteAddress

Returns the remote address associated to this call.

Declaration
public Address RemoteAddress { get; }
Property Value
Type Description
Address

The Linphone.Address of the remote end of the call.

RemoteAddressAsString

Returns the remote address associated to this call as a string.

The result string must be freed by user using ms_free().

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

the remote address as a string.

RemoteAuthenticationTokens

Returns a list of 4 remote ZRTP authentication tokens.

The user needs to select one.

Declaration
public IEnumerable<string> RemoteAuthenticationTokens { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.String>

the authentication tokens to verify or null if ZRTP isn't enabled.

RemoteContact

Returns the far end's sip contact as a string, if available.

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

the remote contact or null.

RemoteContactAddress

Returns the far end's sip contact as an address, if available.

Declaration
public Address RemoteContactAddress { get; }
Property Value
Type Description
Address

the remote contact as a Linphone.Address or null.

RemoteParams

Returns call parameters proposed by remote.

This is useful when receiving an incoming call, to know whether the remote party supports video, encryption or whatever.

Declaration
public CallParams RemoteParams { get; }
Property Value
Type Description
CallParams

the Linphone.CallParams suggested by the remote or null.

RemoteTag

Returns the remote tag of the Linphone.Call.

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

the remote tag.

RemoteUserAgent

Returns the far end's user agent description string, if available.

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

the remote user agent or null.

ReplacedCall

Returns the call object this call is replacing, if any.

Call replacement can occur during call transfers. By default, the core automatically terminates the replaced call and accept the new one. This function allows the application to know whether a new incoming call is a one that replaces another one.

Declaration
public Call ReplacedCall { get; }
Property Value
Type Description
Call

the Linphone.Call object this call is replacing or null.

RequestAddress

The address to which the call has been sent, taken directly from the SIP request-URI of the INVITE.

Usually equal to the To field, except when e.g. using a fallback contact address. You should probably use getToAddress() instead, unless you know what you're doing.

Declaration
public Address RequestAddress { get; }
Property Value
Type Description
Address

the Linphone.Address matching the URI of the INVITE request.

SpeakerMuted

Gets speaker muted state.

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

The speaker muted state.

SpeakerVolumeGain

Gets speaker volume gain.

If the sound backend supports it, the returned gain is equal to the gain set with the system mixer.

Declaration
public float SpeakerVolumeGain { get; set; }
Property Value
Type Description
System.Single

Percentage of the max supported volume gain. Valid values are in [ 0.0 : 1.0 ]. In case of failure, a negative value is returned

State

Retrieves the call's current state.

Declaration
public CallState State { get; }
Property Value
Type Description
CallState

the current Linphone.CallState of this call.

StreamCount

Returns the number of stream for the given call.

Declaration
public int StreamCount { get; }
Property Value
Type Description
System.Int32

the amount of streams for this call.

TextStats

Returns a copy of the call statistics for the text stream.

Declaration
public CallStats TextStats { get; }
Property Value
Type Description
CallStats

a Linphone.CallStats object for the text stream or null if it isn't available.

ToAddress

Returns the to address with its headers associated to this call.

Declaration
public Address ToAddress { get; }
Property Value
Type Description
Address

the Linphone.Address matching the TO of the call.

TransfererCall

Gets the transferer if this call was started automatically as a result of an incoming transfer request.

The call in which the transfer request was received is returned in this case.

Declaration
public Call TransfererCall { get; }
Property Value
Type Description
Call

The transferer Linphone.Call if the specified call was started automatically as a result of an incoming transfer request, null otherwise.

TransferState

Returns the current transfer state, if a transfer has been initiated from this call.

Declaration
public CallState TransferState { get; }
Property Value
Type Description
CallState

the Linphone.CallState.

Remarks

See : linphone_core_transfer_call , linphone_core_transfer_call_to_another

TransferTargetCall

When this call has received a transfer request, returns the new call that was automatically created as a result of the transfer.

Declaration
public Call TransferTargetCall { get; }
Property Value
Type Description
Call

the transfer Linphone.Call created.

VideoSource

Gets the video source of a call.

Declaration
public VideoSourceDescriptor VideoSource { get; set; }
Property Value
Type Description
VideoSourceDescriptor

The Linphone.VideoSourceDescriptor describing the video source that is set

VideoStats

Returns a copy of the call statistics for the video stream.

Declaration
public CallStats VideoStats { get; }
Property Value
Type Description
CallStats

a Linphone.CallStats object for the video stream or null if it isn't available.

ZrtpCacheMismatchFlag

Returns whether ZRTP cache mismatch.

If mismatch, the ZRTP authentication token must be verified by users as described in ZRTP procedure.

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

true if ZRTP cache mismatch, false otherwise.

Methods

Accept()

Accepts an incoming call.

Basically the application is notified of incoming calls within the call_state_changed callback of the LinphoneCoreVTable structure, where it will receive a #LinphoneCallStateIncoming event with the associated Linphone.Call object. The application can later accept the call using this method.

Declaration
public void Accept()

AcceptEarlyMedia()

Accepts an early media session for an incoming call.

This is identical as calling Linphone.Call.AcceptEarlyMediaWithParams() with null parameters.

Declaration
public void AcceptEarlyMedia()
Remarks

See : Linphone.Call.AcceptEarlyMediaWithParams()

AcceptEarlyMediaWithParams(CallParams)

When receiving an incoming, accepts to start a media session as early-media.

This means the call is not accepted but audio & video streams can be established if the remote party supports early media. However, unlike after call acceptance, mic and camera input are not sent during early-media, though received audio & video are played normally. The call can then later be fully accepted using Linphone.Call.Accept() or Linphone.Call.AcceptWithParams().

Declaration
public void AcceptEarlyMediaWithParams(CallParams parameters)
Parameters
Type Name Description
CallParams parameters

The call parameters to use (can be null).

AcceptTransfer()

Accepts and execute a transfer (ie an incoming REFER request), to use when [sip] 'auto_accept_refer' property is false.

Default behaviour is to accept and execute the transfer automatically.

Declaration
public void AcceptTransfer()

AcceptUpdate(CallParams)

Accepts call modifications initiated by other end through an incoming reINVITE or UPDATE request.

Linphone.Call.AcceptUpdate() is typically used in response to a Linphone.CallState.UpdatedByRemote state notification. When such notification arrives, the application has several choices: An application may use Linphone.Call.RemoteParams to get information about the call parameters proposed by the other party (for example when he wants to add a video stream), in order to decide what to do, like for example requesting the end-user approval. The params argument must be constructed with Linphone.Core.CreateCallParams(). Linphone.Core.CreateCallParams() will initialize the returned Linphone.CallParams according to the offered parameters, previously used local parameters and local policies. For example, if the remote user-agent wants to add a video stream but the Linphone.VideoActivationPolicy of the Linphone.Core is to not automatically accept video, then the Linphone.CallParams will get its video stream disabled. The application is free to modify the Linphone.CallParams before passing it to Linphone.Call.AcceptUpdate(). Using null as params argument is allowed and equivalent to passing a Linphone.CallParams created by Linphone.Core.CreateCallParams() and left unmodified. The answer generated by Linphone.Call.AcceptUpdate() at first follows RFC3264 SDP offer answer model rules. The supplied Linphone.CallParams allows to give application instructions about the response to generate, such as accepting or not the enablement of new stream. Linphone.Call.AcceptUpdate() does not have the pretention to control every aspect of the generation of the answer of an SDP offer/answer procedure.

Declaration
public void AcceptUpdate(CallParams parameters)
Parameters
Type Name Description
CallParams parameters

A Linphone.CallParams object describing the call parameters to accept.

AcceptWithParams(CallParams)

Accepts an incoming call, with parameters.

Basically the application is notified of incoming calls within the call_state_changed callback of the LinphoneCoreVTable structure, where it will receive a #LinphoneCallStateIncoming event with the associated Linphone.Call object. The application can later accept the call using this method.

Declaration
public void AcceptWithParams(CallParams parameters)
Parameters
Type Name Description
CallParams parameters

The specific parameters for this call, for example whether video is accepted or not. Use null to use default parameters.

AskedToAutoanswer()

Tells whether a call has been asked to autoanswer.

Declaration
public bool AskedToAutoanswer()
Returns
Type Description
System.Boolean

A boolean value telling whether the call has been asked to autoanswer

CancelDtmfs()

Stops current DTMF sequence sending.

Please note that some DTMF could be already sent, depending on when this function call is delayed from Linphone.Call.SendDtmfs(). This function will be automatically called if call state change to anything but LinphoneCallStreamsRunning.

Declaration
public void CancelDtmfs()

CheckAuthenticationTokenSelected(String)

Verifies that the half ZRTP short authentication string (SAS) selected by the user is correct, and set the verification result accordingly.

If the remote party also verifies his/her half code correctly, the ZRTP cache will be updated to prevent future verification requirements for these two users.

Declaration
public void CheckAuthenticationTokenSelected(string selectedValue)
Parameters
Type Name Description
System.String selectedValue

The ZRTP SAS selected by the user, or an empty string if the user cannot find the SAS

ConfirmGoClear()

Method to be called after the user confirm that he/she is notifed of the on going Go Clear procedure.

Declaration
public void ConfirmGoClear()
Remarks

Warning : this operation must be imperatevely initiate by a user action on sending of the GoClear ACK

CreateNativeVideoWindowId()

Create a native video window id where the video is to be displayed.

Declaration
public IntPtr CreateNativeVideoWindowId()
Returns
Type Description
System.IntPtr

the native video window id (type may vary depending on platform).

Remarks

See : linphone_core_set_native_video_window_id for a general discussion about window IDs.

CreateNotify(String)

Create a Linphone.Event in order to send NOTIFY requests through the SIP dialog created by the call.

The call state must have passed through Linphone.CallState.Connected.

Declaration
public Event CreateNotify(string ev)
Parameters
Type Name Description
System.String ev

The event type to be notified.

Returns
Type Description
Event

a new Linphone.Event

Decline(Reason)

Declines a pending incoming call, with a reason.

Declaration
public void Decline(Reason reason)
Parameters
Type Name Description
Reason reason

The reason for rejecting the call: Linphone.Reason.Declined or Linphone.Reason.Busy

DeclineWithErrorInfo(ErrorInfo)

Declines a pending incoming call, with a Linphone.ErrorInfo object.

Declaration
public int DeclineWithErrorInfo(ErrorInfo ei)
Parameters
Type Name Description
ErrorInfo ei

Linphone.ErrorInfo containing more information on the call rejection.

Returns
Type Description
System.Int32

0 on success, -1 on failure

DeferUpdate()

When receiving a Linphone.CallState.UpdatedByRemote state notification, prevent Linphone.Core from performing an automatic answer.

When receiving a Linphone.CallState.UpdatedByRemote state notification (ie an incoming reINVITE), the default behaviour of Linphone.Core is defined by the "defer_update_default" option of the "sip" section of the config. If this option is 0 (the default) then the Linphone.Core automatically answers the reINIVTE with call parameters unchanged. However when for example when the remote party updated the call to propose a video stream, it can be useful to prompt the user before answering. This can be achieved by calling linphone_core_defer_call_update during the call state notification, to deactivate the automatic answer that would just confirm the audio but reject the video. Then, when the user responds to dialog prompt, it becomes possible to call Linphone.Call.AcceptUpdate() to answer the reINVITE, with video possibly enabled in the Linphone.CallParams argument. The Linphone.CallState.UpdatedByRemote notification can also happen when receiving an INVITE without SDP. In such case, an unchanged offer is made in the 200Ok, and when the ACK containing the SDP answer is received, Linphone.CallState.UpdatedByRemote is triggered to notify the application of possible changes in the media session. However in such case defering the update has no meaning since we just generated an offer.

Declaration
public void DeferUpdate()

GetStats(StreamType)

Returns a copy of the call statistics for a particular stream type.

Declaration
public CallStats GetStats(StreamType type)
Parameters
Type Name Description
StreamType type

the Linphone.StreamType

Returns
Type Description
CallStats

a Linphone.CallStats object for the given stream or null if stream isn't available.

GetToHeader(String)

Returns the value of the header name.

Declaration
public string GetToHeader(string headerName)
Parameters
Type Name Description
System.String headerName

the name of the header to check.

Returns
Type Description
System.String

the value of the header if exists.

HasTransferPending()

Returns if this calls has received a transfer that has not been executed yet.

Pending transfers are executed when this call is being paused or closed, locally or by remote endpoint. If the call is already paused while receiving the transfer request, the transfer immediately occurs.

Declaration
public bool HasTransferPending()
Returns
Type Description
System.Boolean

true if transfer is pending, false otherwise.

MediaInProgress()

Indicates whether an operation is in progress at the media side.

It can be a bad idea to initiate signaling operations (adding video, pausing the call, removing video, changing video parameters) while the media is busy in establishing the connection (typically ICE connectivity checks). It can result in failures generating loss of time in future operations in the call. Applications are invited to check this function after each call state change to decide whether certain operations are permitted or not.

Declaration
public bool MediaInProgress()
Returns
Type Description
System.Boolean

true if media is busy in establishing the connection, false otherwise.

NotifyRinging()

Starts the process of replying 180 Ringing.

This function is used in conjonction with Linphone.Core.EnableAutoSendRinging(). If the automatic sending of the 180 Ringing is disabled, this function needs to be called manually before the call timeouts.

Declaration
public void NotifyRinging()

OglRender()

Calls generic OpenGL render for a given call.

Declaration
public void OglRender()

Pause()

Pauses the call.

If a music file has been setup using Linphone.Core.PlayFile, this file will be played to the remote user. The only way to resume a paused call is to call Linphone.Call.Resume().

Declaration
public void Pause()
Remarks

See : Linphone.Call.Resume()

Redirect(String)

Redirect the specified call to the given redirect URI.

Declaration
public void Redirect(string redirectUri)
Parameters
Type Name Description
System.String redirectUri

The URI to redirect the call to

RedirectTo(Address)

Redirects the specified call to the given redirect Address.

Declaration
public void RedirectTo(Address redirectAddress)
Parameters
Type Name Description
Address redirectAddress

The Linphone.Address to redirect the call to

RequestNotifyNextVideoFrameDecoded()

Requests the callback passed to linphone_call_cbs_set_next_video_frame_decoded to be called the next time the video decoder properly decodes a video frame.

Declaration
public void RequestNotifyNextVideoFrameDecoded()

Resume()

Resumes a call.

The call needs to have been paused previously with Linphone.Call.Pause().

Declaration
public void Resume()
Remarks

See : Linphone.Call.Pause()

SendDtmf(SByte)

Sends the specified dtmf.

The dtmf is automatically played to the user.

Declaration
public void SendDtmf(sbyte dtmf)
Parameters
Type Name Description
System.SByte dtmf

The dtmf name specified as a char, such as '0', '#' etc...

Remarks

See : Linphone.Core.UseRfc2833ForDtmf

SendDtmfs(String)

Sends a list of dtmf.

The dtmfs are automatically sent to remote, separated by some needed customizable delay. Sending is canceled if the call state changes to something not LinphoneCallStreamsRunning.

Declaration
public void SendDtmfs(string dtmfs)
Parameters
Type Name Description
System.String dtmfs

A dtmf sequence such as '123#123123'

Remarks

See : Linphone.Core.UseRfc2833ForDtmf

SendInfoMessage(InfoMessage)

Sends an info message through an established call.

Declaration
public void SendInfoMessage(InfoMessage info)
Parameters
Type Name Description
InfoMessage info

the Linphone.InfoMessage to send

SendVfuRequest()

Requests remote side to send us a Video Fast Update.

Declaration
public void SendVfuRequest()

SkipZrtpAuthentication()

If the user skips the ZRTP authentication check, stop the security alert.

Declaration
public void SkipZrtpAuthentication()

StartRecording()

Starts call recording.

Video record is only available if this function is called in state StreamRunning. The output file where audio is recorded must be previously specified with Linphone.CallParams.RecordFile.

Declaration
public void StartRecording()

StopRecording()

Stops call recording.

Declaration
public void StopRecording()

TakePreviewSnapshot(String)

Takes a photo of currently captured video and write it into a jpeg file.

Note that the snapshot is asynchronous, an application shall not assume that the file is created when the function returns.

Declaration
public void TakePreviewSnapshot(string filePath)
Parameters
Type Name Description
System.String filePath

a path where to write the jpeg content.

TakeVideoSnapshot(String)

Takes a photo of currently received video and write it into a jpeg file.

Note that the snapshot is asynchronous, an application shall not assume that the file is created when the function returns.

Declaration
public void TakeVideoSnapshot(string filePath)
Parameters
Type Name Description
System.String filePath

a path where to write the jpeg content.

Terminate()

Terminates (ends) a call.

Declaration
public void Terminate()

TerminateWithErrorInfo(ErrorInfo)

Terminates a call with additional information, serialized as a Reason header.

Declaration
public void TerminateWithErrorInfo(ErrorInfo ei)
Parameters
Type Name Description
ErrorInfo ei

Linphone.ErrorInfo

Transfer(String)

Performs a simple call transfer to the specified destination.

The remote endpoint is expected to issue a new call to the specified destination. The current call remains active and thus can be later paused or terminated. It is possible to follow the progress of the transfer provided that transferee sends notification about it. In this case, the transfer_state_changed callback of the LinphoneCoreVTable is invoked to notify of the state of the new call at the other party. The notified states are #LinphoneCallOutgoingInit , #LinphoneCallOutgoingProgress, #LinphoneCallOutgoingRinging and #LinphoneCallConnected.

Declaration
public void Transfer(string referTo)
Parameters
Type Name Description
System.String referTo

The destination the call is to be referred to.

TransferTo(Address)

Performs a simple call transfer to the specified destination.

The remote endpoint is expected to issue a new call to the specified destination. The current call remains active and thus can be later paused or terminated. It is possible to follow the progress of the transfer provided that transferee sends notification about it. In this case, the 'transfer state changed' callback of the Linphone.CoreListener is invoked to notify of the state of the new call to the other party. The notified states are Linphone.CallState.OutgoingInit , Linphone.CallState.OutgoingProgress, Linphone.CallState.OutgoingRinging and Linphone.CallState.Connected.

Declaration
public void TransferTo(Address referTo)
Parameters
Type Name Description
Address referTo

The Linphone.Address the call is to be referred to.

TransferToAnother(Call)

Transfers a call to destination of another running call.

This is used for "attended transfer" scenarios. The transferred call is supposed to be in paused state, so that it is able to accept the transfer immediately. The destination call is a call previously established to introduce the transferred person. This method will send a transfer request to the transferred person. The phone of the transferred is then expected to automatically call to the destination of the transfer. The receiver of the transfer will then automatically close the call with us (the 'dest' call). It is possible to follow the progress of the transfer provided that transferee sends notification about it. In this case, the "transfer state changed" callback of the Linphone.CoreListener is invoked to notify of the state of the new call to the other party. The notified states are Linphone.CallState.OutgoingInit , Linphone.CallState.OutgoingProgress, Linphone.CallState.OutgoingRinging and Linphone.CallState.Connected.

Declaration
public void TransferToAnother(Call dest)
Parameters
Type Name Description
Call dest

A running call whose remote person will receive the transfer

Update(CallParams)

Updates a running call according to supplied call parameters or parameters changed in the LinphoneCore.

It triggers a SIP reINVITE in order to perform a new offer/answer of media capabilities. Changing the size of the transmitted video after calling linphone_core_set_preferred_video_size can be used by passing null as params argument. In case no changes are requested through the Linphone.CallParams argument, then this argument can be omitted and set to null. WARNING: Updating a call in the Linphone.CallState.Paused state will still result in a paused call even if the media directions set in the params are sendrecv. To resume a paused call, you need to call Linphone.Call.Resume().

Declaration
public void Update(CallParams parameters)
Parameters
Type Name Description
CallParams parameters

The new call parameters to use (may be null).

Zoom(Single, Single, Single)

Performs a zoom of the video displayed during a call.

The zoom ensures that all the screen is fullfilled with the video.

Declaration
public void Zoom(float zoomFactor, float cx, float cy)
Parameters
Type Name Description
System.Single zoomFactor

a floating point number describing the zoom factor. A value 1.0 corresponds to no zoom applied.

System.Single cx

a floating point number pointing the horizontal center of the zoom to be applied. This value should be between 0.0 and 1.0.

System.Single cy

a floating point number pointing the vertical center of the zoom to be applied. This value should be between 0.0 and 1.0.

In This Article
Back to top Generated by DocFX