GKMatchmaker.FindPlayersAsync(GKMatchRequest) 方法

定义

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'FindPlayersForHostedRequest' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.None, "Use 'FindPlayersForHostedRequest' instead.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<string[]> FindPlayersAsync (GameKit.GKMatchRequest request);
abstract member FindPlayersAsync : GameKit.GKMatchRequest -> System.Threading.Tasks.Task<string[]>
override this.FindPlayersAsync : GameKit.GKMatchRequest -> System.Threading.Tasks.Task<string[]>

参数

request
GKMatchRequest

返回

表示异步 FindPlayers 操作的任务。 TResult 参数的值是 GameKit.GKFriendsHandler。

属性

适用于