共用方式為


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 > 。

屬性

適用於