共用方式為


GKMatchDelegate_Extensions.DataReceivedForRecipient 方法

定義

從另一個 player 接收資料時 recipient 呼叫的方法。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public static void DataReceivedForRecipient (this GameKit.IGKMatchDelegate This, GameKit.GKMatch match, Foundation.NSData data, GameKit.GKPlayer recipient, GameKit.GKPlayer player);
static member DataReceivedForRecipient : GameKit.IGKMatchDelegate * GameKit.GKMatch * Foundation.NSData * GameKit.GKPlayer * GameKit.GKPlayer -> unit

參數

This
IGKMatchDelegate

這個擴充方法運作所在的 實例。

match
GKMatch
data
NSData
recipient
GKPlayer
player
GKPlayer
屬性

適用於