次の方法で共有


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 に設定できます。

属性

適用対象