Edit

Share via


GKAchievement.SelectChallengeablePlayers Method

Definition

Returns the players who can earn the achievement, and then passes them to completionHandler, along with an error object that is null if no error occurred..

[Foundation.Export("selectChallengeablePlayers:withCompletionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SelectChallengeablePlayers (GameKit.GKPlayer[] players, Action<GameKit.GKPlayer[],Foundation.NSError> completionHandler);
abstract member SelectChallengeablePlayers : GameKit.GKPlayer[] * Action<GameKit.GKPlayer[], Foundation.NSError> -> unit
override this.SelectChallengeablePlayers : GameKit.GKPlayer[] * Action<GameKit.GKPlayer[], Foundation.NSError> -> unit

Parameters

players
GKPlayer[]
completionHandler
Action<GKPlayer[],NSError>

To be added.

This parameter can be null.

Attributes

Applies to