Op Englesch liesen Editéieren

Deelen iwwer


MCSession.SendData(NSData, MCPeerID[], MCSessionSendDataMode, NSError) Method

Definition

Enqueues for delivery the data to the peers in peerIDs.

C#
[Foundation.Export("sendData:toPeers:withMode:error:")]
public virtual bool SendData (Foundation.NSData data, MultipeerConnectivity.MCPeerID[] peerIDs, MultipeerConnectivity.MCSessionSendDataMode mode, out Foundation.NSError error);

Parameters

data
NSData
peerIDs
MCPeerID[]
error
NSError

Returns

true if the message was enqueued for delivery.

Attributes

Remarks

Note that the return value only indicates successful enqueueing of the data for transmission, not a confirmation of delivery.

Applies to

Produkt Versiounen
Xamarin.Mac SDK 14