GKLocalPlayer.LoadRecentPlayers(Action<GKPlayer[],NSError>) 方法

定义

加载最近的玩家。

[Foundation.Export("loadRecentPlayersWithCompletionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void LoadRecentPlayers (Action<GameKit.GKPlayer[],Foundation.NSError> completionHandler);
abstract member LoadRecentPlayers : Action<GameKit.GKPlayer[], Foundation.NSError> -> unit
override this.LoadRecentPlayers : Action<GameKit.GKPlayer[], Foundation.NSError> -> unit

参数

completionHandler
Action<GKPlayer[],NSError>

内容待定。

此参数可以为 null

属性

适用于