GKLocalPlayer.LoadFriendPlayersAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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<GameKit.GKPlayer[]> LoadFriendPlayersAsync();
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member LoadFriendPlayersAsync : unit -> System.Threading.Tasks.Task<GameKit.GKPlayer[]>
override this.LoadFriendPlayersAsync : unit -> System.Threading.Tasks.Task<GameKit.GKPlayer[]>
Returns
A task that represents the asynchronous LoadFriendPlayers operation. The value of the TResult parameter is of type System.Action<GameKit.GKPlayer[],Foundation.NSError>.
- Attributes
Remarks
The LoadFriendPlayersAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.
To be added.