Reads any available data already received from the SmartGlass-enabled device by the auxiliary stream, up to the maximum amount specified.
public:
IBuffer^ Read(
uint32 maxBytes,
out SmartGlassAuxiliaryStreamReadStats readStats
)
maxBytes
Type: uint32
Specifies the maximum number of bytes that you want to read from the auxiliary stream.
readStats
Type: SmartGlassAuxiliaryStreamReadStats
Receives information about the numver of bytes received from the auxiliary stream and the number of bytes available to read from the stream.
Type: IBuffer
Represents a referenced array of bytes read from the auxiliary stream.
Both the Xbox One console and the SmartGlass-enabled device must open the auxiliary stream before you can start reading data from the stream.
Namespace: Windows.Xbox.SmartGlass
Metadata: windows.winmd
SmartGlassAuxiliaryStream.Write
SmartGlassAuxiliaryStream.Open
SmartGlassAuxiliaryStream Class