GKMatchDelegate_Extensions.DataReceived 方法

定义

开发人员不应使用此已弃用的方法。 开发人员应改用“DataReceivedFromPlayer (GKMatch,NSData,GKPlayer) ”。

[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

参数

This
IGKMatchDelegate

此扩展方法在其上运行的实例。

match
GKMatch
data
NSData
playerId
String
属性

适用于