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>。
- 属性