GKMatchmaker.StartBrowsingForNearbyPlayers 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
StartBrowsingForNearbyPlayers(Action<GKPlayer,Boolean>) |
开始发现附近的玩家。 |
StartBrowsingForNearbyPlayers(Action<String,Boolean>) |
开始发现附近的玩家。 |
StartBrowsingForNearbyPlayers(Action<GKPlayer,Boolean>)
开始发现附近的玩家。
[Foundation.Export("startBrowsingForNearbyPlayersWithHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void StartBrowsingForNearbyPlayers (Action<GameKit.GKPlayer,bool> handler);
abstract member StartBrowsingForNearbyPlayers : Action<GameKit.GKPlayer, bool> -> unit
override this.StartBrowsingForNearbyPlayers : Action<GameKit.GKPlayer, bool> -> unit
参数
- 属性
适用于
StartBrowsingForNearbyPlayers(Action<String,Boolean>)
开始发现附近的玩家。
[Foundation.Export("startBrowsingForNearbyPlayersWithReachableHandler:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'StartBrowsingForNearbyPlayers(Action<GKPlayer, bool> handler)' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.None, "Use 'StartBrowsingForNearbyPlayers(Action<GKPlayer, bool> handler)' instead.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void StartBrowsingForNearbyPlayers (Action<string,bool> reachableHandler);
abstract member StartBrowsingForNearbyPlayers : Action<string, bool> -> unit
override this.StartBrowsingForNearbyPlayers : Action<string, bool> -> unit
参数
- 属性