Freigeben über


GKLocalPlayer.Authenticate(Action<NSError>) Methode

Definition

Entwickler sollten diese veraltete Methode nicht verwenden. Legen Sie stattdessen den "AuthenticationHandler" fest.

[Foundation.Export("authenticateWithCompletionHandler:")]
[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 void Authenticate (Action<Foundation.NSError> handler);
abstract member Authenticate : Action<Foundation.NSError> -> unit
override this.Authenticate : Action<Foundation.NSError> -> unit

Parameter

handler
Action<NSError>

Muss hinzugefügt werden.

Dieser Parameter kann null sein.

Attribute

Gilt für: