GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

Search e01

One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.

7 results across 6 corpora for wakelocks.

Dictionary 1

wakelocks

Wiktionary mirror (dictionary.db) · CC BY-SA 4.0 (Wiktionary dump) · https://en.wiktionary.org/wiki/wakelocks

Developer library 6

Firefox 126 release notes for developers

e that would typically keep it awake. The API is accessed through Navigator.wakeLock in secure contexts, which returns a WakeLock. This allows you to request a WakeLockSentinel, which can be used to monitor the status of the wake lock and release it manually ([Firefox bug 1589554](https://bugzil.la/1589554), [Firefox bug 1874849](https://bugzil.la/1874849)). - All [`RTCIceCandidate`](/docs/Web/API/RTCIceCandidate) pr

Speculation Rules API

Speculation Rules API The **Speculation Rules API** is designed to improve performance for future navigations. It targets document URLs rather than specific resource files, and so makes sense for multi-page applications (MPAs) rather than single-page applications (SPAs). The Speculation Rules API provides an alternative to the widely-available [`<link rel="prefetch">`](/docs/Web/HTML/Reference/Attributes/rel/prefet

WakeLock

hence the system wake lock, is exposed through the Navigator.wakeLock property. ## Instance methods - request() - : Returns a Promise that fulfills with a WakeLockSentinel object if the screen wake lock is granted. ## Examples The following code `awaits` the request for a WakeLockSentinel object, and continues if the request is granted. The WakeLock.request() method is wrapped in a `try...catch` statement to

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Web/API/WakeLock

WakeLock: request() method

Screen Wake Lock API The **`request()`** method of the WakeLock interface returns a Promise that fulfills with a WakeLockSentinel object if the system screen wake lock is granted. The screen wake lock prevents device screens from dimming or locking when an application needs to keep running. ## Syntax ```js-nolint request(type) ``` ### Parameters - `type` - : A string specifying the screen wake lock type, fro

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Web/API/WakeLock/request

Screen Wake Lock API

ce, scanning a QR/barcode or applications that use voice or gesture control, rather than tactile input (the default way to keep a screen awake). You acquire a WakeLockSentinel object by calling the navigator.wakeLock.request() Promise-based method that resolves if the platform allows it. A request may be rejected for a number of reasons, including system settings (such as power save mode or low battery level) or if

WakeLockSentinel

Screen Wake Lock API The **`WakeLockSentinel`** interface of the [Screen Wake Lock API](/docs/Web/API/Screen_Wake_Lock_API) can be used to monitor the status of the platform screen wake lock, and manually release the lock when needed. The screen wake lock prevents device screens from dimming or locking when an application needs to keep running. A screen wake lock is requested using the navigator.wakeLock.request()

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Web/API/WakeLockSentinel

JSON results · Services directory