Share via


GKTurnBasedMatch.AcceptInviteAsync Method

Definition

Asynchronously accepts an invitation to a match.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task<GameKit.GKTurnBasedMatch> AcceptInviteAsync();
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member AcceptInviteAsync : unit -> System.Threading.Tasks.Task<GameKit.GKTurnBasedMatch>
override this.AcceptInviteAsync : unit -> System.Threading.Tasks.Task<GameKit.GKTurnBasedMatch>

Returns

A task that represents the asynchronous AcceptInvite operation. The value of the TResult parameter is of type System.Action<GameKit.GKTurnBasedMatch,Foundation.NSError>.

Attributes

Applies to