WakeLockSentinel
The WakeLockSentinel
interface of the Screen Wake Lock API can be used to monitor the status of the platform screen wake lock, and manually release the lock when needed. Available only in secure contexts.
Properties
Functions
Link copied to clipboard
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 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