BidirectionalStream.ICallback.OnStreamReady(BidirectionalStream) 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.
Invoked when the stream is ready for reading and writing.
[Android.Runtime.Register("onStreamReady", "(Landroid/net/http/BidirectionalStream;)V", "GetOnStreamReady_Landroid_net_http_BidirectionalStream_Handler:Android.Net.Http.BidirectionalStream/ICallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)]
public void OnStreamReady (Android.Net.Http.BidirectionalStream stream);
[<Android.Runtime.Register("onStreamReady", "(Landroid/net/http/BidirectionalStream;)V", "GetOnStreamReady_Landroid_net_http_BidirectionalStream_Handler:Android.Net.Http.BidirectionalStream/ICallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)>]
abstract member OnStreamReady : Android.Net.Http.BidirectionalStream -> unit
Parameters
- stream
- BidirectionalStream
the stream that is ready. <strong>This is not guaranteed to be the same
object as the one received by other callbacks, nor is it guaranteed to be the one
returned by BidirectionalStream.Builder#build
.</strong> However, method
calls on this object will have the same effects as calls on the original
BidirectionalStream
.
- Attributes
Remarks
Invoked when the stream is ready for reading and writing. Consumer may call BidirectionalStream#read read()
to start reading data. Consumer may call BidirectionalStream#write write()
to start writing data.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.