GKLocalPlayer.LoadFriendPlayers(Action<GKPlayer[],NSError>) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
載入本機玩家朋友識別碼的陣列,並將它 completionHandler
傳遞給 ,以及發生錯誤時的錯誤物件 null
。
[Foundation.Export("loadFriendPlayersWithCompletionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.None, null)]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.None, null)]
public virtual void LoadFriendPlayers (Action<GameKit.GKPlayer[],Foundation.NSError> completionHandler);
[Foundation.Export("loadFriendPlayersWithCompletionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void LoadFriendPlayers (Action<GameKit.GKPlayer[],Foundation.NSError> completionHandler);
abstract member LoadFriendPlayers : Action<GameKit.GKPlayer[], Foundation.NSError> -> unit
override this.LoadFriendPlayers : Action<GameKit.GKPlayer[], Foundation.NSError> -> unit
參數
- 屬性