共用方式為


GKAchievement.SelectChallengeablePlayerIDs 方法

定義

已取代。

[Foundation.Export("selectChallengeablePlayerIDs:withCompletionHandler:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.None, "Pass 'GKPlayers' to 'SelectChallengeablePlayers' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.None, "Pass 'GKPlayers' to 'SelectChallengeablePlayers' instead.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SelectChallengeablePlayerIDs (string[] playerIDs, Action<string[],Foundation.NSError> completionHandler);
[Foundation.Export("selectChallengeablePlayerIDs:withCompletionHandler:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.None, "Pass 'GKPlayers' to 'SelectChallengeablePlayers' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.None, "Pass 'GKPlayers' to 'SelectChallengeablePlayers' instead.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SelectChallengeablePlayerIDs (string[] playerIDs, Action<string[],Foundation.NSError> completionHandler);
abstract member SelectChallengeablePlayerIDs : string[] * Action<string[], Foundation.NSError> -> unit
override this.SelectChallengeablePlayerIDs : string[] * Action<string[], Foundation.NSError> -> unit

參數

playerIDs
String[]

即將加入。

這個參數可以是 null

completionHandler
Action<String[],NSError>

即將加入。

這個參數可以是 null

屬性

適用於