Share via


GKTurnBasedMatch.SendExchangeAsync Method

Definition

Sends exchange requests to the players who are listed in participants.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task<GameKit.GKTurnBasedExchange> SendExchangeAsync(GameKit.GKTurnBasedParticipant[] participants, Foundation.NSData data, string localizableMessage, Foundation.NSObject[] arguments, double timeout);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SendExchangeAsync : GameKit.GKTurnBasedParticipant[] * Foundation.NSData * string * Foundation.NSObject[] * double -> System.Threading.Tasks.Task<GameKit.GKTurnBasedExchange>
override this.SendExchangeAsync : GameKit.GKTurnBasedParticipant[] * Foundation.NSData * string * Foundation.NSObject[] * double -> System.Threading.Tasks.Task<GameKit.GKTurnBasedExchange>

Parameters

participants
GKTurnBasedParticipant[]
data
NSData
localizableMessage
String
arguments
NSObject[]
timeout
Double

Returns

A task that represents the asynchronous SendExchange operation. The value of the TResult parameter is of type System.Action<GameKit.GKTurnBasedExchange,Foundation.NSError>.

Attributes

Applies to