編集

次の方法で共有


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

Definition

[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

Parameters

data
NSData
peers
String[]
error
NSError

Returns

Attributes

Applies to