toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-browser
/
web.locks
/
LockManager
Lock
Manager
external
class
LockManager
(
source
)
Available only in secure contexts.
MDN Reference
Members
Functions
query
Link copied to clipboard
suspend
fun
query
(
)
:
LockManagerSnapshot
MDN Reference
query
Async
Link copied to clipboard
fun
queryAsync
(
)
:
Promise
<
LockManagerSnapshot
>
request
Link copied to clipboard
suspend
fun
request
(
name
:
String
,
callback
:
LockGrantedCallback
)
MDN Reference
suspend
fun
request
(
name
:
String
,
options
:
LockOptions
,
callback
:
LockGrantedCallback
)
request
Async
Link copied to clipboard
fun
requestAsync
(
name
:
String
,
callback
:
LockGrantedCallback
)
:
Promise
<
Void
>
fun
requestAsync
(
name
:
String
,
options
:
LockOptions
,
callback
:
LockGrantedCallback
)
:
Promise
<
Void
>