Package-level declarations
Types
Functions
Link copied to clipboard
The release()
method of the WakeLockSentinel interface releases the WakeLockSentinel, returning a Promise that is resolved once the sentinel has been successfully released.
Link copied to clipboard
The request()
method of the WakeLock interface returns a Promise that fulfills with a WakeLockSentinel object if the system screen wake lock is granted.