GKTurnBasedMatch.SendExchange 方法

定义

向 中列出的 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

参数

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

内容待定。

此参数可以为 null

属性

适用于