PowerSaveBlocker

external interface PowerSaveBlocker(source)

Functions

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

Whether the corresponding powerSaveBlocker has started.

Link copied to clipboard

The blocker ID that is assigned to this power blocker.

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

Stops the specified power save blocker.