Edytuj

Udostępnij za pośrednictwem


GKTurnBasedMatch.SendExchange Method

Definition

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

[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

Parameters

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

To be added.

This parameter can be null.

Attributes

Applies to