com.google.android.gms.wearable.Channel.GetInputStreamResult |
Result of getInputStream(GoogleApiClient)
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns an input stream which can read data from the remote node.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Returns an input stream which can read data from the 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 read if any connection
errors occur. This exception might be a ChannelIOException
.
Since data for this stream comes over the network, reads may block for a long time.
Multiple calls to this method will return the same instance.
Returns | |
---|---|
InputStream |