Interface: WakeLock


CloudControl Pro 9 Docs / power_manager / WakeLock

Interface: WakeLock

power_manager.WakeLock

WakeLock。

See

PowerManager.WakeLockopen in new window

Hierarchy

  • WakeLock

    WakeLock

Table of contents

Methods

Methods

acquire

acquire(timeout?): void

Parameters

Name Type
timeout? number

Returns

void

acquire(): void

Returns

void


isHeld

isHeld(): boolean

Returns

boolean


release

release(): void

Returns

void

release(flags?): void

Parameters

Name Type
flags? number

Returns

void