Freigeben über


GKTurnBasedMatch.SendExchange Methode

Definition

Sendet Exchange-Anforderungen an die Spieler, die in participantsaufgeführt sind.

[Foundation.Export("sendExchangeToParticipants:data:localizableMessageKey:arguments:timeout:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SendExchange (GameKit.GKTurnBasedParticipant[] participants, Foundation.NSData data, string localizableMessage, Foundation.NSObject[] arguments, double timeout, Action<GameKit.GKTurnBasedExchange,Foundation.NSError> completionHandler);
abstract member SendExchange : GameKit.GKTurnBasedParticipant[] * Foundation.NSData * string * Foundation.NSObject[] * double * Action<GameKit.GKTurnBasedExchange, Foundation.NSError> -> unit
override this.SendExchange : GameKit.GKTurnBasedParticipant[] * Foundation.NSData * string * Foundation.NSObject[] * double * Action<GameKit.GKTurnBasedExchange, Foundation.NSError> -> unit

Parameter

participants
GKTurnBasedParticipant[]
data
NSData
localizableMessage
String
arguments
NSObject[]
timeout
Double
completionHandler
Action<GKTurnBasedExchange,NSError>

Muss hinzugefügt werden.

Dieser Parameter kann null sein.

Attribute

Gilt für: