UrlRequest.Builder.SetPriority(UrlRequestPriority) 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 priority of the request which should be one of the REQUEST_PRIORITY_* values.
[Android.Runtime.Register("setPriority", "(I)Landroid/net/http/UrlRequest$Builder;", "GetSetPriority_IHandler", ApiSince=34)]
public abstract Android.Net.Http.UrlRequest.Builder SetPriority(Android.Net.Http.UrlRequestPriority priority);
[<Android.Runtime.Register("setPriority", "(I)Landroid/net/http/UrlRequest$Builder;", "GetSetPriority_IHandler", ApiSince=34)>]
abstract member SetPriority : Android.Net.Http.UrlRequestPriority -> Android.Net.Http.UrlRequest.Builder
Parameters
- priority
- UrlRequestPriority
priority of the request which should be one of the REQUEST_PRIORITY_* values.
Returns
the builder to facilitate chaining. This value cannot be null.
- Attributes
Remarks
Sets priority of the request which should be one of the REQUEST_PRIORITY_* values. The request is given UrlRequest.REQUEST_PRIORITY_MEDIUM priority if this method is not called.
Android reference for android.net.http.UrlRequest.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.