編輯

共用方式為


GKGameSession.SendMessage Method

Definition

[Foundation.Export("sendMessageWithLocalizedFormatKey:arguments:data:toPlayers:badgePlayers:completionHandler:")]
public virtual void SendMessage (string key, string[] arguments, Foundation.NSData data, GameKit.GKCloudPlayer[] players, bool badgePlayers, Action<Foundation.NSError> completionHandler);
abstract member SendMessage : string * string[] * Foundation.NSData * GameKit.GKCloudPlayer[] * bool * Action<Foundation.NSError> -> unit
override this.SendMessage : string * string[] * Foundation.NSData * GameKit.GKCloudPlayer[] * bool * Action<Foundation.NSError> -> unit

Parameters

key
String
arguments
String[]
data
NSData
players
GKCloudPlayer[]
badgePlayers
Boolean
completionHandler
Action<NSError>
Attributes

Applies to