com.google.android.gms.wearable.Channel.GetOutputStreamResult |
Result of getOutputStream(GoogleApiClient)
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns an output stream which can send data to a remote node.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Returns an output stream which can send data to a remote node. The stream should be
closed when no longer needed. This method will only return null
if this result's
status was not success.
The returned stream will throw IOException
on write if any connection
errors occur. This exception might be a ChannelIOException
.
Data written to this stream is buffered. If you wish to send the current data without waiting for the buffer to fill up, flush the stream.
Multiple calls to this method will return the same instance.
Returns | |
---|---|
OutputStream |