toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-browser
/
web.wakelock
/
WakeLock
Wake
Lock
external
class
WakeLock
(
source
)
Available only in secure contexts.
MDN Reference
Members
Functions
request
Link copied to clipboard
suspend
fun
request
(
type
:
WakeLockType
=
definedExternally
)
:
WakeLockSentinel
MDN Reference
request
Async
Link copied to clipboard
fun
requestAsync
(
type
:
WakeLockType
=
definedExternally
)
:
Promise
<
WakeLockSentinel
>