Dil

BidirectionalStream.Builder.SetPriority(BidirectionalStreamPriority) Method

Definition

Sets priority of the stream which should be one of the STREAM_PRIORITY_* values.

[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

priority of the stream which should be one of the STREAM_PRIORITY_* values. Value is one of the following: BidirectionalStream.STREAM_PRIORITY_IDLE; BidirectionalStream.STREAM_PRIORITY_LOWEST; BidirectionalStream.STREAM_PRIORITY_LOW; BidirectionalStream.STREAM_PRIORITY_MEDIUM; BidirectionalStream.STREAM_PRIORITY_HIGHEST

Returns

the builder to facilitate chaining. This value cannot be null.

Attributes

Remarks

Sets priority of the stream which should be one of the STREAM_PRIORITY_* values. The stream is given BidirectionalStream.STREAM_PRIORITY_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.

Applies to