Partager via


GKMatchDelegate_Extensions.DataReceived Méthode

Définition

Les développeurs ne doivent pas utiliser cette méthode déconseillée. Les développeurs doivent utiliser « DataReceivedFromPlayer (GKMatch,NSData,GKPlayer) » à la place.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'DataReceivedFromPlayer (GKMatch,NSData,GKPlayer)' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.None, "Use 'DataReceivedFromPlayer (GKMatch,NSData,GKPlayer)' instead.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static void DataReceived (this GameKit.IGKMatchDelegate This, GameKit.GKMatch match, Foundation.NSData data, string playerId);
static member DataReceived : GameKit.IGKMatchDelegate * GameKit.GKMatch * Foundation.NSData * string -> unit

Paramètres

This
IGKMatchDelegate

Instance sur laquelle cette méthode d’extension fonctionne.

match
GKMatch
data
NSData
playerId
String
Attributs

S’applique à