共用方式為


GKSession.SendData(NSData, String[], GKSendDataMode, NSError) 方法

定義

[Foundation.Export("sendData:toPeers:withDataMode:error:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.None, null)]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.None, null)]
public virtual bool SendData (Foundation.NSData data, string[] peers, GameKit.GKSendDataMode mode, out Foundation.NSError error);
abstract member SendData : Foundation.NSData * string[] * GameKit.GKSendDataMode *  -> bool
override this.SendData : Foundation.NSData * string[] * GameKit.GKSendDataMode *  -> bool

參數

data
NSData
peers
String[]
error
NSError

傳回

屬性

適用於