Share via


GKLocalPlayer.LoadFriendsAsync Method

Definition

Asynchronously loads an array of the local player's friends' identifiers.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task<string[]> LoadFriendsAsync();
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member LoadFriendsAsync : unit -> System.Threading.Tasks.Task<string[]>
override this.LoadFriendsAsync : unit -> System.Threading.Tasks.Task<string[]>

Returns

A task that represents the asynchronous LoadFriends operation. The value of the TResult parameter is a GameKit.GKFriendsHandler.

Attributes

Applies to