toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-browser
/
web.wakelock
/
WakeLockSentinel
Wake
Lock
Sentinel
external
class
WakeLockSentinel
:
EventTarget
(
source
)
Available only in secure contexts.
MDN Reference
Members
Properties
onrelease
Link copied to clipboard
var
onrelease
:
EventHandler
<
Event
,
WakeLockSentinel
,
WakeLockSentinel
>
?
MDN Reference
released
Link copied to clipboard
val
released
:
Boolean
MDN Reference
release
Event
Link copied to clipboard
val
releaseEvent
:
EventInstance
<
Event
,
WakeLockSentinel
,
WakeLockSentinel
>
MDN Reference
type
Link copied to clipboard
val
type
:
WakeLockType
MDN Reference
Functions
dispatch
Event
Link copied to clipboard
fun
dispatchEvent
(
event
:
Event
)
:
Boolean
release
Link copied to clipboard
suspend
fun
release
(
)
MDN Reference
release
Async
Link copied to clipboard
fun
releaseAsync
(
)
:
Promise
<
Void
>