GKLocalPlayer.Authenticate(Action<NSError>) 方法

定义

开发人员不应使用此已弃用的方法。 请改为设置“AuthenticationHandler”。

[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

参数

handler
Action<NSError>

内容待定。

此参数可以为 null

属性

适用于