GKTurnBasedMatch.DeclineInvite(Action<GKTurnBasedMatch,NSError>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Declines an invitation to a match and then passes a new match object to completionHandler
, along with an error object that is null
if no error occurred.
[Foundation.Export("declineInviteWithCompletionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DeclineInvite (Action<GameKit.GKTurnBasedMatch,Foundation.NSError> completionHandler);
[Foundation.Export("declineInviteWithCompletionHandler:")]
[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 DeclineInvite (Action<GameKit.GKTurnBasedMatch,Foundation.NSError> completionHandler);
abstract member DeclineInvite : Action<GameKit.GKTurnBasedMatch, Foundation.NSError> -> unit
override this.DeclineInvite : Action<GameKit.GKTurnBasedMatch, Foundation.NSError> -> unit
Parameters
- Attributes