Writes outgoing data to the auxiliary stream, which either sends the data immediately or queues that data to send later if the Xbox One console is already sending too much data through the stream.
public:
int32 Write(
IBuffer^ buffer,
out SmartGlassAuxiliaryStreamWriteStats writeStats
)
buffer
Type: IBuffer
Specifies a referenced array of bytes to write to the auxiliary stream.
writeStats
Type: SmartGlassAuxiliaryStreamWriteStats
Receives information about the total number of bytes already sent by the auxiliary stream and the number of bytes queued and still waiting to be sent.
Type: int32
0 indicates that the auxiliary stream is not connected. A nonzero value indcates that the auxiliary stream is connected.
Both the Xbox One console and the SmartGlass-enabled device must open the auxiliary stream before you can start writing data to the stream.
Namespace: Windows.Xbox.SmartGlass
Metadata: windows.winmd
SmartGlassAuxiliaryStream.Read
SmartGlassAuxiliaryStream.Open
SmartGlassAuxiliaryStream Class