共用方式為


GKGameSession.SendMessageAsync 方法

定義

public virtual System.Threading.Tasks.Task SendMessageAsync (string key, string[] arguments, Foundation.NSData data, GameKit.GKCloudPlayer[] players, bool badgePlayers);
abstract member SendMessageAsync : string * string[] * Foundation.NSData * GameKit.GKCloudPlayer[] * bool -> System.Threading.Tasks.Task
override this.SendMessageAsync : string * string[] * Foundation.NSData * GameKit.GKCloudPlayer[] * bool -> System.Threading.Tasks.Task

參數

key
String
arguments
String[]
data
NSData
players
GKCloudPlayer[]
badgePlayers
Boolean

傳回

表示非同步 SendMessage 作業的工作

適用於