Düzenle

Aracılığıyla paylaş


GKLocalPlayer.LoadFriendPlayers(Action<GKPlayer[],NSError>) Method

Definition

Loads an array of the local player's friends' identifiers and passes it to completionHandler, along with an error object that is null if no error occurred.

[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

Parameters

completionHandler
Action<GKPlayer[],NSError>

To be added.

This parameter can be null.

Attributes

Applies to