GKAchievement.SelectChallengeablePlayerIDsAsync(String[]) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
已取代。
[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 System.Threading.Tasks.Task<string[]> SelectChallengeablePlayerIDsAsync (string[] playerIDs);
[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 System.Threading.Tasks.Task<string[]> SelectChallengeablePlayerIDsAsync (string[] playerIDs);
abstract member SelectChallengeablePlayerIDsAsync : string[] -> System.Threading.Tasks.Task<string[]>
override this.SelectChallengeablePlayerIDsAsync : string[] -> System.Threading.Tasks.Task<string[]>
參數
- playerIDs
- String[]
要加入。這個參數可以是 。
傳回
表示非同步 SelectChallengeablePlayerIDs 作業的工作。 TResult 參數的值的類型為 System.Action < System.String[],Foundation.NSError > 。
- 屬性