Kotlin Wrappers API Reference
Toggle table of contents
common
Platform filter
common
Switch theme
kotlin-browser
/
web.serviceworker
/
ServiceWorkerContainer
/
getRegistration
get
Registration
suspend
fun
getRegistration
(
clientURL
:
String
=
definedExternally
)
:
ServiceWorkerRegistration
?
(
source
)
The
getRegistration
(
)
method of the client URL.
MDN Reference
suspend
fun
getRegistration
(
clientURL
:
URL
)
:
ServiceWorkerRegistration
?
(
source
)