GKMatchDelegate.DataReceived(GKMatch, NSData, String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
开发人员不应使用此已弃用的方法。 开发人员应改用“DataReceivedFromPlayer (GKMatch,NSData,GKPlayer) ”。
[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
参数
- match
- GKMatch
- data
- NSData
- playerId
- String
- 属性