Share via


ICXProviderDelegate Interface

Definition

[Foundation.Protocol(Name="CXProviderDelegate", WrapperType=typeof(CallKit.CXProviderDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DidReset", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider) }, Selector="providerDidReset:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidBegin", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider) }, Selector="providerDidBegin:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ExecuteTransaction", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(CallKit.CXTransaction) }, ReturnType=typeof(System.Boolean), Selector="provider:executeTransaction:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformStartCallAction", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(CallKit.CXStartCallAction) }, Selector="provider:performStartCallAction:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformAnswerCallAction", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(CallKit.CXAnswerCallAction) }, Selector="provider:performAnswerCallAction:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformEndCallAction", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(CallKit.CXEndCallAction) }, Selector="provider:performEndCallAction:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformSetHeldCallAction", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(CallKit.CXSetHeldCallAction) }, Selector="provider:performSetHeldCallAction:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformSetMutedCallAction", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(CallKit.CXSetMutedCallAction) }, Selector="provider:performSetMutedCallAction:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformSetGroupCallAction", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(CallKit.CXSetGroupCallAction) }, Selector="provider:performSetGroupCallAction:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformPlayDtmfCallAction", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(CallKit.CXPlayDtmfCallAction) }, Selector="provider:performPlayDTMFCallAction:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="TimedOutPerformingAction", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(CallKit.CXAction) }, Selector="provider:timedOutPerformingAction:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidActivateAudioSession", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(AVFoundation.AVAudioSession) }, Selector="provider:didActivateAudioSession:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidDeactivateAudioSession", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(AVFoundation.AVAudioSession) }, Selector="provider:didDeactivateAudioSession:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformSetTranslatingCallAction", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(CallKit.CXSetTranslatingCallAction) }, Selector="provider:performSetTranslatingCallAction:")]
public interface ICXProviderDelegate : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(Name="CXProviderDelegate", WrapperType=typeof(CallKit.CXProviderDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DidReset", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider) }, Selector="providerDidReset:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidBegin", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider) }, Selector="providerDidBegin:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ExecuteTransaction", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(CallKit.CXTransaction) }, ReturnType=typeof(System.Boolean), Selector="provider:executeTransaction:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformStartCallAction", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(CallKit.CXStartCallAction) }, Selector="provider:performStartCallAction:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformAnswerCallAction", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(CallKit.CXAnswerCallAction) }, Selector="provider:performAnswerCallAction:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformEndCallAction", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(CallKit.CXEndCallAction) }, Selector="provider:performEndCallAction:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformSetHeldCallAction", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(CallKit.CXSetHeldCallAction) }, Selector="provider:performSetHeldCallAction:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformSetMutedCallAction", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(CallKit.CXSetMutedCallAction) }, Selector="provider:performSetMutedCallAction:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformSetGroupCallAction", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(CallKit.CXSetGroupCallAction) }, Selector="provider:performSetGroupCallAction:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformPlayDtmfCallAction", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(CallKit.CXPlayDtmfCallAction) }, Selector="provider:performPlayDTMFCallAction:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="TimedOutPerformingAction", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(CallKit.CXAction) }, Selector="provider:timedOutPerformingAction:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidActivateAudioSession", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(AVFoundation.AVAudioSession) }, Selector="provider:didActivateAudioSession:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidDeactivateAudioSession", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(AVFoundation.AVAudioSession) }, Selector="provider:didDeactivateAudioSession:")]
public interface ICXProviderDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="CXProviderDelegate", WrapperType=typeof(CallKit.CXProviderDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DidReset", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider) }, Selector="providerDidReset:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidBegin", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider) }, Selector="providerDidBegin:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ExecuteTransaction", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(CallKit.CXTransaction) }, ReturnType=typeof(System.Boolean), Selector="provider:executeTransaction:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformStartCallAction", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(CallKit.CXStartCallAction) }, Selector="provider:performStartCallAction:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformAnswerCallAction", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(CallKit.CXAnswerCallAction) }, Selector="provider:performAnswerCallAction:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformEndCallAction", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(CallKit.CXEndCallAction) }, Selector="provider:performEndCallAction:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformSetHeldCallAction", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(CallKit.CXSetHeldCallAction) }, Selector="provider:performSetHeldCallAction:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformSetMutedCallAction", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(CallKit.CXSetMutedCallAction) }, Selector="provider:performSetMutedCallAction:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformSetGroupCallAction", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(CallKit.CXSetGroupCallAction) }, Selector="provider:performSetGroupCallAction:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformPlayDtmfCallAction", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(CallKit.CXPlayDtmfCallAction) }, Selector="provider:performPlayDTMFCallAction:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="TimedOutPerformingAction", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(CallKit.CXAction) }, Selector="provider:timedOutPerformingAction:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidActivateAudioSession", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(AVFoundation.AVAudioSession) }, Selector="provider:didActivateAudioSession:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidDeactivateAudioSession", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(AVFoundation.AVAudioSession) }, Selector="provider:didDeactivateAudioSession:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformSetTranslatingCallAction", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(CallKit.CXSetTranslatingCallAction) }, Selector="provider:performSetTranslatingCallAction:")>]
type ICXProviderDelegate = interface
    interface INativeObject
    interface IDisposable
[<Foundation.Protocol(Name="CXProviderDelegate", WrapperType=typeof(CallKit.CXProviderDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DidReset", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider) }, Selector="providerDidReset:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidBegin", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider) }, Selector="providerDidBegin:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ExecuteTransaction", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(CallKit.CXTransaction) }, ReturnType=typeof(System.Boolean), Selector="provider:executeTransaction:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformStartCallAction", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(CallKit.CXStartCallAction) }, Selector="provider:performStartCallAction:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformAnswerCallAction", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(CallKit.CXAnswerCallAction) }, Selector="provider:performAnswerCallAction:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformEndCallAction", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(CallKit.CXEndCallAction) }, Selector="provider:performEndCallAction:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformSetHeldCallAction", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(CallKit.CXSetHeldCallAction) }, Selector="provider:performSetHeldCallAction:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformSetMutedCallAction", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(CallKit.CXSetMutedCallAction) }, Selector="provider:performSetMutedCallAction:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformSetGroupCallAction", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(CallKit.CXSetGroupCallAction) }, Selector="provider:performSetGroupCallAction:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformPlayDtmfCallAction", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(CallKit.CXPlayDtmfCallAction) }, Selector="provider:performPlayDTMFCallAction:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="TimedOutPerformingAction", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(CallKit.CXAction) }, Selector="provider:timedOutPerformingAction:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidActivateAudioSession", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(AVFoundation.AVAudioSession) }, Selector="provider:didActivateAudioSession:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidDeactivateAudioSession", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CallKit.CXProvider), typeof(AVFoundation.AVAudioSession) }, Selector="provider:didDeactivateAudioSession:")>]
type ICXProviderDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

Name Description
DidActivateAudioSession(CXProvider, AVAudioSession)

The system activated a telephony-priority audio session for the call.

DidBegin(CXProvider)

The system began a call for the app.

DidDeactivateAudioSession(CXProvider, AVAudioSession)

The system deactivated an audio session that the app had been using for a call.

DidReset(CXProvider)
ExecuteTransaction(CXProvider, CXTransaction)

Atomically runs the actions that are contained in the transaction.

PerformAnswerCallAction(CXProvider, CXAnswerCallAction)

Performs an answer call action.

PerformEndCallAction(CXProvider, CXEndCallAction)

Performs an end call action.

PerformPlayDtmfCallAction(CXProvider, CXPlayDtmfCallAction)

Performs a DTMF play call action.

PerformSetGroupCallAction(CXProvider, CXSetGroupCallAction)

Performs a set group call action.

PerformSetHeldCallAction(CXProvider, CXSetHeldCallAction)

Performs a hold call action.

PerformSetMutedCallAction(CXProvider, CXSetMutedCallAction)

Performs a set muted call action.

PerformSetTranslatingCallAction(CXProvider, CXSetTranslatingCallAction)
PerformStartCallAction(CXProvider, CXStartCallAction)

Performs a start call action.

TimedOutPerformingAction(CXProvider, CXAction)

Method that is called when a timeout is hit before an action is finished performing.

Extension Methods

Name Description
DidActivateAudioSession(ICXProviderDelegate, CXProvider, AVAudioSession)

The system activated a telephony-priority audio session for the call.

DidBegin(ICXProviderDelegate, CXProvider)

The system began a call for the app.

DidDeactivateAudioSession(ICXProviderDelegate, CXProvider, AVAudioSession)

The system deactivated an audio session that the app had been using for a call.

ExecuteTransaction(ICXProviderDelegate, CXProvider, CXTransaction)

Atomically runs the actions that are contained in the transaction.

PerformAnswerCallAction(ICXProviderDelegate, CXProvider, CXAnswerCallAction)

Performs an answer call action.

PerformEndCallAction(ICXProviderDelegate, CXProvider, CXEndCallAction)

Performs an end call action.

PerformPlayDtmfCallAction(ICXProviderDelegate, CXProvider, CXPlayDtmfCallAction)

Performs a DTMF play call action.

PerformSetGroupCallAction(ICXProviderDelegate, CXProvider, CXSetGroupCallAction)

Performs a set group call action.

PerformSetHeldCallAction(ICXProviderDelegate, CXProvider, CXSetHeldCallAction)

Performs a hold call action.

PerformSetMutedCallAction(ICXProviderDelegate, CXProvider, CXSetMutedCallAction)

Performs a set muted call action.

PerformSetTranslatingCallAction(ICXProviderDelegate, CXProvider, CXSetTranslatingCallAction)
PerformStartCallAction(ICXProviderDelegate, CXProvider, CXStartCallAction)

Performs a start call action.

TimedOutPerformingAction(ICXProviderDelegate, CXProvider, CXAction)

Method that is called when a timeout is hit before an action is finished performing.

GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to

See also