ServiceWorkerDomain

(undocumented in the protocol definition)

Official doc

Functions

Link copied to clipboard
suspend fun deliverPushMessage(origin: String, registrationId: RegistrationID, data: String): DeliverPushMessageResponse

(undocumented in the protocol definition)

Link copied to clipboard
suspend fun disable(): DisableResponse

(undocumented in the protocol definition)

Link copied to clipboard
Link copied to clipboard
suspend fun dispatchSyncEvent(origin: String, registrationId: RegistrationID, tag: String, lastChance: Boolean): DispatchSyncEventResponse

(undocumented in the protocol definition)

Link copied to clipboard
suspend fun enable(): EnableResponse

(undocumented in the protocol definition)

Link copied to clipboard

Subscribes to all events related to this domain.

Link copied to clipboard
suspend fun inspectWorker(versionId: String): InspectWorkerResponse

(undocumented in the protocol definition)

Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard
suspend fun skipWaiting(scopeURL: String): SkipWaitingResponse

(undocumented in the protocol definition)

Link copied to clipboard
suspend fun startWorker(scopeURL: String): StartWorkerResponse

(undocumented in the protocol definition)

Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard
suspend fun stopWorker(versionId: String): StopWorkerResponse

(undocumented in the protocol definition)

Link copied to clipboard
suspend fun unregister(scopeURL: String): UnregisterResponse

(undocumented in the protocol definition)

Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard

(undocumented in the protocol definition)