GKTurnBasedMatch.EndTurnAsync 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.
Asynchronously ends the turn.
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task EndTurnAsync(GameKit.GKTurnBasedParticipant[] nextParticipants, double timeoutSeconds, Foundation.NSData matchData);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member EndTurnAsync : GameKit.GKTurnBasedParticipant[] * double * Foundation.NSData -> System.Threading.Tasks.Task
override this.EndTurnAsync : GameKit.GKTurnBasedParticipant[] * double * Foundation.NSData -> System.Threading.Tasks.Task
Parameters
- nextParticipants
- GKTurnBasedParticipant[]
- timeoutSeconds
- Double
- matchData
- NSData
Returns
A task that represents the asynchronous EndTurn operation
- Attributes