Package-level declarations

Types

Link copied to clipboard
@Serializable
data class DeliverPushMessageRequest(val origin: String, val registrationId: RegistrationID, val data: String)

Request object containing input parameters for the ServiceWorkerDomain.deliverPushMessage command.

Link copied to clipboard
@Serializable
object DeliverPushMessageResponse

A dummy response object for the ServiceWorkerDomain.deliverPushMessage command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
object DisableResponse

A dummy response object for the ServiceWorkerDomain.disable command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class DispatchPeriodicSyncEventRequest(val origin: String, val registrationId: RegistrationID, val tag: String)

Request object containing input parameters for the ServiceWorkerDomain.dispatchPeriodicSyncEvent command.

Link copied to clipboard

A dummy response object for the ServiceWorkerDomain.dispatchPeriodicSyncEvent command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class DispatchSyncEventRequest(val origin: String, val registrationId: RegistrationID, val tag: String, val lastChance: Boolean)

Request object containing input parameters for the ServiceWorkerDomain.dispatchSyncEvent command.

Link copied to clipboard
@Serializable
object DispatchSyncEventResponse

A dummy response object for the ServiceWorkerDomain.dispatchSyncEvent command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
object EnableResponse

A dummy response object for the ServiceWorkerDomain.enable command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class InspectWorkerRequest(val versionId: String)

Request object containing input parameters for the ServiceWorkerDomain.inspectWorker command.

Link copied to clipboard
@Serializable
object InspectWorkerResponse

A dummy response object for the ServiceWorkerDomain.inspectWorker command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard
@Serializable
data class ServiceWorkerErrorMessage(val errorMessage: String, val registrationId: RegistrationID, val versionId: String, val sourceURL: String, val lineNumber: Int, val columnNumber: Int)

ServiceWorker error message.

Link copied to clipboard
@Serializable
data class ServiceWorkerRegistration(val registrationId: RegistrationID, val scopeURL: String, val isDeleted: Boolean)

ServiceWorker registration.

Link copied to clipboard
@Serializable
data class ServiceWorkerVersion(val versionId: String, val registrationId: RegistrationID, val scriptURL: String, val runningStatus: ServiceWorkerVersionRunningStatus, val status: ServiceWorkerVersionStatus, val scriptLastModified: Double? = null, val scriptResponseTime: Double? = null, val controlledClients: List<TargetID>? = null, val targetId: TargetID? = null, val routerRules: String? = null)

ServiceWorker version.

Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard
@Serializable
data class SetForceUpdateOnPageLoadRequest(val forceUpdateOnPageLoad: Boolean)

Request object containing input parameters for the ServiceWorkerDomain.setForceUpdateOnPageLoad command.

Link copied to clipboard

A dummy response object for the ServiceWorkerDomain.setForceUpdateOnPageLoad command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SkipWaitingRequest(val scopeURL: String)

Request object containing input parameters for the ServiceWorkerDomain.skipWaiting command.

Link copied to clipboard
@Serializable
object SkipWaitingResponse

A dummy response object for the ServiceWorkerDomain.skipWaiting command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class StartWorkerRequest(val scopeURL: String)

Request object containing input parameters for the ServiceWorkerDomain.startWorker command.

Link copied to clipboard
@Serializable
object StartWorkerResponse

A dummy response object for the ServiceWorkerDomain.startWorker command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
object StopAllWorkersResponse

A dummy response object for the ServiceWorkerDomain.stopAllWorkers command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class StopWorkerRequest(val versionId: String)

Request object containing input parameters for the ServiceWorkerDomain.stopWorker command.

Link copied to clipboard
@Serializable
object StopWorkerResponse

A dummy response object for the ServiceWorkerDomain.stopWorker command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class UnregisterRequest(val scopeURL: String)

Request object containing input parameters for the ServiceWorkerDomain.unregister command.

Link copied to clipboard
@Serializable
object UnregisterResponse

A dummy response object for the ServiceWorkerDomain.unregister command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class UpdateRegistrationRequest(val scopeURL: String)

Request object containing input parameters for the ServiceWorkerDomain.updateRegistration command.

Link copied to clipboard
@Serializable
object UpdateRegistrationResponse

A dummy response object for the ServiceWorkerDomain.updateRegistration command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.