편집

다음을 통해 공유


CXCallController.RequestTransaction Method

Definition

Overloads

RequestTransaction(CXAction, Action<NSError>)

Requests that the specified action be performed by the provider, and runs a handler on the call controller's queue when the operation is complete.

RequestTransaction(CXAction[], Action<NSError>)

Requests that the specified actions be performed by the provider, and runs a handler on the call controller's queue when the operation is complete.

RequestTransaction(CXTransaction, Action<NSError>)

Requests that the system run a transaction.

RequestTransaction(CXAction, Action<NSError>)

Requests that the specified action be performed by the provider, and runs a handler on the call controller's queue when the operation is complete.

[Foundation.Export("requestTransactionWithAction:completion:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void RequestTransaction (CallKit.CXAction action, Action<Foundation.NSError> completion);
abstract member RequestTransaction : CallKit.CXAction * Action<Foundation.NSError> -> unit
override this.RequestTransaction : CallKit.CXAction * Action<Foundation.NSError> -> unit

Parameters

action
CXAction

The transaction that is being requested.

This parameter can be null.

completion
Action<NSError>

Method to run after the transaction completes.

This parameter can be null.

Attributes

Applies to

RequestTransaction(CXAction[], Action<NSError>)

Requests that the specified actions be performed by the provider, and runs a handler on the call controller's queue when the operation is complete.

[Foundation.Export("requestTransactionWithActions:completion:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void RequestTransaction (CallKit.CXAction[] actions, Action<Foundation.NSError> completion);
abstract member RequestTransaction : CallKit.CXAction[] * Action<Foundation.NSError> -> unit
override this.RequestTransaction : CallKit.CXAction[] * Action<Foundation.NSError> -> unit

Parameters

actions
CXAction[]

To be added.

This parameter can be null.

completion
Action<NSError>

Method to run after the transaction completes.

This parameter can be null.

Attributes

Applies to

RequestTransaction(CXTransaction, Action<NSError>)

Requests that the system run a transaction.

[Foundation.Export("requestTransaction:completion:")]
public virtual void RequestTransaction (CallKit.CXTransaction transaction, Action<Foundation.NSError> completion);
abstract member RequestTransaction : CallKit.CXTransaction * Action<Foundation.NSError> -> unit
override this.RequestTransaction : CallKit.CXTransaction * Action<Foundation.NSError> -> unit

Parameters

transaction
CXTransaction

The transaction to run.

completion
Action<NSError>

An action to run after the transaction has succeeded or failed.

Attributes

Applies to