DeviceStateRequirement
enum DeviceStateRequirement : Parcelable, Enum<DeviceStateRequirement>
Entries
| Network | Network Requirement that the device has network connectivity. |
| NetworkUnmetered | NetworkUnmetered Requirement that the device has a network connection that is unmetered. |
| DeviceIdle | DeviceIdle Requirement that the device is idle. |
| DeviceCharging | DeviceCharging Requirement that the device is charging. |
| DeviceStorageNotLow | DeviceStorageNotLow Requirement that the device's internal storage is not low. Note that this requirement is not affected by the status of external storage. |
Properties
| Name | Summary |
|---|---|
| entries | val entries: EnumEntries<DeviceStateRequirement> Returns a representation of an immutable list of all enum entries, in the order they're declared. |
Functions
| Name | Summary |
|---|---|
| valueOf | fun valueOf(value: String): DeviceStateRequirement Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.) |
| values | fun values(): Array<DeviceStateRequirement> Returns an array containing the constants of this enum type, in the order they're declared. |