GKLocalPlayerListener.DidRequestMatch Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DidRequestMatch(GKPlayer, GKPlayer[]) |
Method that is called when the |
DidRequestMatch(GKPlayer, String[]) |
Developers should not use this deprecated method. Developers should use 'DidRequestMatch (GKPlayer player, GKPlayer[] recipientPlayers)' instead. |
DidRequestMatch(GKPlayer, GKPlayer[])
Method that is called when the player
requests a match with a group of friendPlayers
.
[Foundation.Export("player:didRequestMatchWithRecipients:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DidRequestMatch (GameKit.GKPlayer player, GameKit.GKPlayer[] recipientPlayers);
abstract member DidRequestMatch : GameKit.GKPlayer * GameKit.GKPlayer[] -> unit
override this.DidRequestMatch : GameKit.GKPlayer * GameKit.GKPlayer[] -> unit
Parameters
- player
- GKPlayer
- recipientPlayers
- GKPlayer[]
- Attributes
Applies to
DidRequestMatch(GKPlayer, String[])
Developers should not use this deprecated method. Developers should use 'DidRequestMatch (GKPlayer player, GKPlayer[] recipientPlayers)' instead.
[Foundation.Export("player:didRequestMatchWithPlayers:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'DidRequestMatch (GKPlayer player, GKPlayer[] recipientPlayers)' instead.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DidRequestMatch (GameKit.GKPlayer player, string[] playerIDs);
abstract member DidRequestMatch : GameKit.GKPlayer * string[] -> unit
override this.DidRequestMatch : GameKit.GKPlayer * string[] -> unit
Parameters
- player
- GKPlayer
- playerIDs
- String[]
- Attributes