다음을 통해 공유


GKLocalPlayer.LoadFriendPlayers(Action<GKPlayer[],NSError>) 메서드

정의

로컬 플레이어의 친구 식별자 배열을 로드하고 오류가 발생하지 않은 경우 오류 개체와 함께 에 null 전달합니다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)]
[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

매개 변수

completionHandler
Action<GKPlayer[],NSError>

추가될 예정입니다.

이 매개 변수는 null일 수 있습니다.

특성

적용 대상