MCSession.StartStream(String, MCPeerID, NSError) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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