編集

次の方法で共有


GKMatchDelegate.DataReceivedForRecipient Method

Definition

Method that is called when the recipient recieves data from another player.

[Foundation.Export("match:didReceiveData:forRecipient:fromRemotePlayer:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DataReceivedForRecipient (GameKit.GKMatch match, Foundation.NSData data, GameKit.GKPlayer recipient, GameKit.GKPlayer player);
abstract member DataReceivedForRecipient : GameKit.GKMatch * Foundation.NSData * GameKit.GKPlayer * GameKit.GKPlayer -> unit
override this.DataReceivedForRecipient : GameKit.GKMatch * Foundation.NSData * GameKit.GKPlayer * GameKit.GKPlayer -> unit

Parameters

match
GKMatch
data
NSData
recipient
GKPlayer
player
GKPlayer
Attributes

Applies to