Partager via


GKTurnBasedMatch.SendExchangeAsync Méthode

Définition

Envoie des demandes d’échange aux joueurs répertoriés dans participants.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<GameKit.GKTurnBasedExchange> SendExchangeAsync (GameKit.GKTurnBasedParticipant[] participants, Foundation.NSData data, string localizableMessage, Foundation.NSObject[] arguments, double timeout);
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>

Paramètres

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

Retours

Tâche qui représente l’opération SendExchange asynchrone. La valeur du paramètre TResult est de type System.Action<GameKit.GKTurnBasedExchange,Foundation.NSError>.

Attributs

S’applique à