Skip to content

ScreenWakeLockAPI

Types

wakeLock

type wakeLock = {}

Module

There are methods and helpers defined in WakeLock .

wakeLockSentinel

type wakeLockSentinel = {
released: bool,
type_: wakeLockType,
}

Record fields

released
bool

Module

There are methods and helpers defined in WakeLockSentinel .

wakeLockType

type wakeLockType = @as("screen") Screen