Share via


GKLocalPlayer.LoadRecentPlayersAsync 方法

定义

加载最近的玩家。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<GameKit.GKPlayer[]> LoadRecentPlayersAsync ();
abstract member LoadRecentPlayersAsync : unit -> System.Threading.Tasks.Task<GameKit.GKPlayer[]>
override this.LoadRecentPlayersAsync : unit -> System.Threading.Tasks.Task<GameKit.GKPlayer[]>

返回

表示异步 LoadRecentPlayers 操作的任务。 TResult 参数的值的类型为 System.Action<GameKit.GKPlayer[],Foundation.NSError>。

属性

适用于