Compartilhar via


GKAchievement.SelectChallengeablePlayers Método

Definição

Retorna os jogadores que podem obter a conquista e, em seguida, passa-os para completionHandler, juntamente com um objeto de erro que é null se nenhum erro ocorreu..

[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

Parâmetros

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

A ser adicionado.

Esse parâmetro pode ser null.

Atributos

Aplica-se a