PowerManager
IOnThermalStatusChangedListener
IWakeLockStateListener
ThermalStatusChangedEventArgs
WakeLock
WakeLockStateEventArgs
ActionDeviceIdleModeChanged
ActionDeviceLightIdleModeChanged
ActionLowPowerStandbyEnabledChanged
ActionLowPowerStandbyPolicyChanged
ActionPowerSaveModeChanged
FeatureWakeOnLanInLowPowerStandby
LowPowerStandbyAllowedReasonOngoingCall
LowPowerStandbyAllowedReasonTempPowerSaveAllowlist
LowPowerStandbyAllowedReasonVoiceInteraction
PowerManager(IntPtr, JniHandleOwnership)
BatteryDischargePrediction
CurrentThermalStatus
IsBatteryDischargePredictionPersonalized
IsDeviceIdleMode
IsDeviceLightIdleMode
IsExemptFromLowPowerStandby
IsInteractive
IsLowPowerStandbyEnabled
IsPowerSaveMode
IsRebootingUserspaceSupported
IsScreenOn
IsSustainedPerformanceModeSupported
JniPeerMembers
ThresholdClass
ThresholdType
AddThermalStatusListener(IOnThermalStatusChangedListener)
AddThermalStatusListener(IExecutor, IOnThermalStatusChangedListener)
FromContext(Context)
GetThermalHeadroom(Int32)
GoToSleep(Int64)
IsAllowedInLowPowerStandby(LowPowerStandbyAllowedReasons)
IsAllowedInLowPowerStandby(String)
IsIgnoringBatteryOptimizations(String)
IsWakeLockLevelSupported(Int32)
NewWakeLock(WakeLockFlags, String)
Reboot(String)
RemoveThermalStatusListener(IOnThermalStatusChangedListener)
UserActivity(Int64, Boolean)
WakeUp(Int64)
ThermalStatus
net9.0-android34.0
namespace Android.OS
{
[Register("android/os/PowerManager", DoNotGenerateAcw = true)]
public class PowerManager : Object
{
[Register("addThermalStatusListener", "(Ljava/util/concurrent/Executor;Landroid/os/PowerManager$OnThermalStatusChangedListener;)V", "GetAddThermalStatusListener_Ljava_util_concurrent_Executor_Landroid_os_PowerManager_OnThermalStatusChangedListener_Handler", ApiSince = 29)]
[SupportedOSPlatform("android29.0")]
public virtual void AddThermalStatusListener(IExecutor! executor, IOnThermalStatusChangedListener! listener);
}
}
.NET | 6.07.08.09.0 |
---|---|
Information specific to net9.0 | |
Platforms | This API is only available when you target a specific platform: |
Android | 21.022.023.024.025.026.027.028.029.030.031.032.033.034.0 |
Information specific to net9.0-android34.0 | |
Assembly | Mono.Android , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
Referencing | The API is automatically referenced. |
Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API