Bearbeiten

Freigeben über


GKTurnBasedMatch.ParticipantQuitInTurnAsync Method

Definition

Overloads

ParticipantQuitInTurnAsync(GKTurnBasedMatchOutcome, GKTurnBasedParticipant, NSData)

Deprecated.

ParticipantQuitInTurnAsync(GKTurnBasedMatchOutcome, GKTurnBasedParticipant[], Double, NSData)

Resigns the current player from the match and runs completionHandler.

ParticipantQuitInTurnAsync(GKTurnBasedMatchOutcome, GKTurnBasedParticipant, NSData)

Deprecated.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'ParticipantQuitInTurn (GKTurnBasedMatchOutcome, GKTurnBasedParticipant[], double, NSData, Action<NSError>)' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.None, "Use 'ParticipantQuitInTurn (GKTurnBasedMatchOutcome, GKTurnBasedParticipant[], double, NSData, Action<NSError>)' instead.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task ParticipantQuitInTurnAsync (GameKit.GKTurnBasedMatchOutcome matchOutcome, GameKit.GKTurnBasedParticipant nextParticipant, Foundation.NSData matchData);
abstract member ParticipantQuitInTurnAsync : GameKit.GKTurnBasedMatchOutcome * GameKit.GKTurnBasedParticipant * Foundation.NSData -> System.Threading.Tasks.Task
override this.ParticipantQuitInTurnAsync : GameKit.GKTurnBasedMatchOutcome * GameKit.GKTurnBasedParticipant * Foundation.NSData -> System.Threading.Tasks.Task

Parameters

nextParticipant
GKTurnBasedParticipant
matchData
NSData

Returns

A task that represents the asynchronous ParticipantQuitInTurn operation

Attributes

Applies to

ParticipantQuitInTurnAsync(GKTurnBasedMatchOutcome, GKTurnBasedParticipant[], Double, NSData)

Resigns the current player from the match and runs completionHandler.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task ParticipantQuitInTurnAsync (GameKit.GKTurnBasedMatchOutcome matchOutcome, GameKit.GKTurnBasedParticipant[] nextParticipants, double timeoutSeconds, Foundation.NSData matchData);
abstract member ParticipantQuitInTurnAsync : GameKit.GKTurnBasedMatchOutcome * GameKit.GKTurnBasedParticipant[] * double * Foundation.NSData -> System.Threading.Tasks.Task
override this.ParticipantQuitInTurnAsync : GameKit.GKTurnBasedMatchOutcome * GameKit.GKTurnBasedParticipant[] * double * Foundation.NSData -> System.Threading.Tasks.Task

Parameters

nextParticipants
GKTurnBasedParticipant[]
timeoutSeconds
Double
matchData
NSData

Returns

A task that represents the asynchronous ParticipantQuitInTurn operation

Attributes

Applies to