編輯

共用方式為


GKLocalPlayer.AuthenticateAsync Method

Definition

Developers should not use this deprecated method. Set the 'AuthenticationHandler' instead.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.None, "Set the 'AuthenticationHandler' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.None, "Set the 'AuthenticationHandler' instead.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task AuthenticateAsync ();
abstract member AuthenticateAsync : unit -> System.Threading.Tasks.Task
override this.AuthenticateAsync : unit -> System.Threading.Tasks.Task

Returns

A task that represents the asynchronous Authenticate operation

Attributes

Applies to