Upravit

Sdílet prostřednictvím


DCDevice.GenerateTokenAsync Method

Definition

Generates an identification token for CurrentDevice and runs a handlere after the operation is complete.

public virtual System.Threading.Tasks.Task<Foundation.NSData> GenerateTokenAsync ();
abstract member GenerateTokenAsync : unit -> System.Threading.Tasks.Task<Foundation.NSData>
override this.GenerateTokenAsync : unit -> System.Threading.Tasks.Task<Foundation.NSData>

Returns

A task that represents the asynchronous GenerateToken operation. The value of the TResult parameter is a DeviceCheck.DCDeviceGenerateTokenCompletionHandler.

Remarks

The GenerateTokenAsync 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