PowerSaveBlocker

external interface PowerSaveBlocker(source)

Functions

Link copied to clipboard
abstract external fun isStarted(id: Double): Boolean

Whether the corresponding powerSaveBlocker has started.

Link copied to clipboard
abstract external fun start(type: PowerSaveBlockerStartType): Double

The blocker ID that is assigned to this power blocker.

Link copied to clipboard
abstract external fun stop(id: Double): Boolean

Stops the specified power save blocker.