Edytuj

Udostępnij za pośrednictwem


GKLocalPlayer.LoadFriends(GKFriendsHandler) Method

Definition

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

[Foundation.Export("loadFriendsWithCompletionHandler:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'LoadRecentPlayers' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.None, "Use 'LoadRecentPlayers' instead.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void LoadFriends (GameKit.GKFriendsHandler handler);
abstract member LoadFriends : GameKit.GKFriendsHandler -> unit
override this.LoadFriends : GameKit.GKFriendsHandler -> unit

Parameters

handler
GKFriendsHandler

To be added.

This parameter can be null.

Attributes

Applies to