LowPowerStandbyAllowedReasons 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.
Defines low power standby allowed reasons values used by the Android OS API.
This enumeration supports a bitwise combination of its member values.
[System.Flags]
public enum LowPowerStandbyAllowedReasons
[<System.Flags>]
type LowPowerStandbyAllowedReasons =
- Inheritance
-
LowPowerStandbyAllowedReasons
- Attributes
Fields
| Name | Value | Description |
|---|---|---|
| None | 0 | Represents the None value. |
| VoiceInteraction | 1 | Exempts active Voice Interaction Sessions in Low Power Standby. |
| TempPowerSaveAllowlist | 2 | Exempts apps on the temporary powersave allowlist. |
| OngoingCall | 4 | Exempts apps with ongoing calls. This includes apps with foreground services of type "phoneCall". |
Remarks
This class lets you query and request control of aspects of the device's power state.
Java documentation for android.os.PowerManager.
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.