Düzenle

Aracılığıyla paylaş


MCSession.StartStream(String, MCPeerID, NSError) Method

Definition

Creates a named stream to peerID.

[Foundation.Export("startStreamWithName:toPeer:error:")]
public virtual Foundation.NSOutputStream StartStream (string streamName, MultipeerConnectivity.MCPeerID peerID, out Foundation.NSError error);
abstract member StartStream : string * MultipeerConnectivity.MCPeerID *  -> Foundation.NSOutputStream
override this.StartStream : string * MultipeerConnectivity.MCPeerID *  -> Foundation.NSOutputStream

Parameters

streamName
String
peerID
MCPeerID
error
NSError

Returns

A byte stream or null if the stream could not be created.

Attributes

Applies to