Edit

Share via


GKMatchmaker.StartBrowsingForNearbyPlayers Method

Definition

Overloads

StartBrowsingForNearbyPlayers(Action<GKPlayer,Boolean>)

Begins discovering nearby players.

StartBrowsingForNearbyPlayers(Action<String,Boolean>)

Begins discovering nearby players.

StartBrowsingForNearbyPlayers(Action<GKPlayer,Boolean>)

Begins discovering nearby players.

[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

Parameters

handler
Action<GKPlayer,Boolean>

To be added.

This parameter can be null.

Attributes

Applies to

StartBrowsingForNearbyPlayers(Action<String,Boolean>)

Begins discovering nearby players.

[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

Parameters

reachableHandler
Action<String,Boolean>

To be added.

This parameter can be null.

Attributes

Applies to