Compartir a través de


GKMatchDelegate.DataReceived(GKMatch, NSData, String) Método

Definición

Los desarrolladores no deben usar este método en desuso. Los desarrolladores deben usar "DataReceivedFromPlayer (GKMatch,NSData,GKPlayer)" en su lugar.

[Foundation.Export("match:didReceiveData:fromPlayer:")]
[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 virtual void DataReceived (GameKit.GKMatch match, Foundation.NSData data, string playerId);
abstract member DataReceived : GameKit.GKMatch * Foundation.NSData * string -> unit
override this.DataReceived : GameKit.GKMatch * Foundation.NSData * string -> unit

Parámetros

match
GKMatch
data
NSData
playerId
String
Atributos

Se aplica a