共用方式為


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。

屬性

適用於