BidirectionalStream.Builder.SetPriority(BidirectionalStreamPriority) 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.
Sets the priority of the stream.
[Android.Runtime.Register("setPriority", "(I)Landroid/net/http/BidirectionalStream$Builder;", "GetSetPriority_IHandler", ApiSince=34)]
public abstract Android.Net.Http.BidirectionalStream.Builder SetPriority(Android.Net.Http.BidirectionalStreamPriority priority);
[<Android.Runtime.Register("setPriority", "(I)Landroid/net/http/BidirectionalStream$Builder;", "GetSetPriority_IHandler", ApiSince=34)>]
abstract member SetPriority : Android.Net.Http.BidirectionalStreamPriority -> Android.Net.Http.BidirectionalStream.Builder
Parameters
- priority
- BidirectionalStreamPriority
The priority of the stream. Value is one of the following: Idle; Lowest; Low; Medium; Highest
Returns
the builder to facilitate chaining. This value cannot be null.
- Attributes
Remarks
Sets the priority of the stream. The stream is given Medium priority if this method is not called.
Android reference for android.net.http.BidirectionalStream.Builder.setPriority.
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.