次の方法で共有


GKTurnBasedMatch.AcceptInvite(Action<GKTurnBasedMatch,NSError>) メソッド

定義

一致への招待を受け入れ、新しい match オブジェクトを に completionHandler渡し、エラーが発生しなかった場合は null エラー オブジェクトを渡します。

[Foundation.Export("acceptInviteWithCompletionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void AcceptInvite (Action<GameKit.GKTurnBasedMatch,Foundation.NSError> completionHandler);
[Foundation.Export("acceptInviteWithCompletionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void AcceptInvite (Action<GameKit.GKTurnBasedMatch,Foundation.NSError> completionHandler);
abstract member AcceptInvite : Action<GameKit.GKTurnBasedMatch, Foundation.NSError> -> unit
override this.AcceptInvite : Action<GameKit.GKTurnBasedMatch, Foundation.NSError> -> unit

パラメーター

completionHandler
Action<GKTurnBasedMatch,NSError>

追加する。

このパラメーターは、null に設定できます。

属性

適用対象