Düzenle

Aracılığıyla paylaş


CXCallController.RequestTransactionAsync Method

Definition

Overloads

RequestTransactionAsync(CXAction)

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.

RequestTransactionAsync(CXAction[])

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.

RequestTransactionAsync(CXTransaction)

Requests that the system run a transaction.

RequestTransactionAsync(CXAction)

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.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task RequestTransactionAsync (CallKit.CXAction action);
abstract member RequestTransactionAsync : CallKit.CXAction -> System.Threading.Tasks.Task
override this.RequestTransactionAsync : CallKit.CXAction -> System.Threading.Tasks.Task

Parameters

action
CXAction

The transaction that is being requested.

Returns

A task that represents the asynchronous RequestTransaction operation

Attributes

Remarks

The RequestTransactionAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.

To be added.

Applies to

RequestTransactionAsync(CXAction[])

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.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task RequestTransactionAsync (CallKit.CXAction[] actions);
abstract member RequestTransactionAsync : CallKit.CXAction[] -> System.Threading.Tasks.Task
override this.RequestTransactionAsync : CallKit.CXAction[] -> System.Threading.Tasks.Task

Parameters

actions
CXAction[]

Returns

A task that represents the asynchronous RequestTransaction operation

Attributes

Applies to

RequestTransactionAsync(CXTransaction)

Requests that the system run a transaction.

public virtual System.Threading.Tasks.Task RequestTransactionAsync (CallKit.CXTransaction transaction);
abstract member RequestTransactionAsync : CallKit.CXTransaction -> System.Threading.Tasks.Task
override this.RequestTransactionAsync : CallKit.CXTransaction -> System.Threading.Tasks.Task

Parameters

transaction
CXTransaction

The transaction to run.

Returns

A task that represents the asynchronous RequestTransaction operation

Applies to