Share via


GKMatchmaker.CancelInvite(String) Método

Definición

Los desarrolladores no deben usar este método en desuso. En su lugar, los desarrolladores deben usar "CancelPendingInvite".

[Foundation.Export("cancelInviteToPlayer:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'CancelPendingInvite' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.None, "Use 'CancelPendingInvite' 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 CancelInvite (string playerID);
abstract member CancelInvite : string -> unit
override this.CancelInvite : string -> unit

Parámetros

playerID
String
Atributos

Se aplica a