Android.OS.PowerManager Members

The members of Android.OS.PowerManager are listed below.

See Also: Inherited members from Java.Lang.Object

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Fields

const
ActionPowerSaveModeChangedstring. Intent that is broadcast when the state of PowerManager.IsPowerSaveMode changes.

Public Properties

[read-only]
IsInteractivebool. Returns true if the device is in an interactive state.
[read-only]
IsPowerSaveModebool. Returns true if the device is currently in power save mode.
[read-only]
IsScreenOnbool. Returns true if the device is in an interactive state.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

static
FromContext(Android.Content.Context) : PowerManager
Documentation for this section has not yet been entered.
GoToSleep(long)
Forces the device to go to sleep.
IsWakeLockLevelSupported(int) : bool
Returns true if the specified wake lock level is supported.
NewWakeLock(WakeLockFlags, string) : PowerManager.WakeLock
Creates a new wake lock with the specified level and flags.
Reboot(string)
Reboot the device.
UserActivity(long, bool)
Notifies the power manager that user activity happened.
WakeUp(long)
Forces the device to wake up from sleep.