UrlRequestPriority Enum
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.
Specifies the priority of a URL request.
public enum UrlRequestPriority
type UrlRequestPriority =
- Inheritance
-
UrlRequestPriority
Fields
| Name | Value | Description |
|---|---|---|
| Idle | 0 | Lowest request priority. Passed to Builder.setPriority. Android reference for 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. |
| Lowest | 1 | Very low request priority. Passed to Builder.setPriority. Android reference for 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. |
| Low | 2 | Low request priority. Passed to Builder.setPriority. Android reference for 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. |
| Medium | 3 | Medium request priority. Passed to Builder.setPriority. This is the default priority given to the request. Android reference for 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. |
| Highest | 4 | Highest request priority. Passed to Builder.setPriority. Android reference for 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. |
Remarks
The default is Medium when the builder does not specify a priority.