Package-level declarations

Types

Link copied to clipboard
@Serializable
data class ClearStorageItemsRequest(val id: String, val storageArea: StorageArea)

Request object containing input parameters for the ExtensionsDomain.clearStorageItems command.

Link copied to clipboard
@Serializable
object ClearStorageItemsResponse

A dummy response object for the ExtensionsDomain.clearStorageItems 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

Defines commands and events for browser extensions.

Link copied to clipboard
@Serializable
data class GetStorageItemsRequest(val id: String, val storageArea: StorageArea, val keys: List<String>? = null)

Request object containing input parameters for the ExtensionsDomain.getStorageItems command.

Link copied to clipboard
@Serializable
data class GetStorageItemsResponse(val data: JsonObject)

Response type for the ExtensionsDomain.getStorageItems command.

Link copied to clipboard
@Serializable
data class LoadUnpackedRequest(val path: String, val enableInIncognito: Boolean? = null)

Request object containing input parameters for the ExtensionsDomain.loadUnpacked command.

Link copied to clipboard
@Serializable
data class LoadUnpackedResponse(val id: String)

Response type for the ExtensionsDomain.loadUnpacked command.

Link copied to clipboard
@Serializable
data class RemoveStorageItemsRequest(val id: String, val storageArea: StorageArea, val keys: List<String>)

Request object containing input parameters for the ExtensionsDomain.removeStorageItems command.

Link copied to clipboard
@Serializable
object RemoveStorageItemsResponse

A dummy response object for the ExtensionsDomain.removeStorageItems 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 SetStorageItemsRequest(val id: String, val storageArea: StorageArea, val values: JsonObject)

Request object containing input parameters for the ExtensionsDomain.setStorageItems command.

Link copied to clipboard
@Serializable
object SetStorageItemsResponse

A dummy response object for the ExtensionsDomain.setStorageItems 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(with = StorageAreaSerializer::class)
sealed interface StorageArea

Storage areas.

Link copied to clipboard
@Serializable
data class TriggerActionRequest(val id: String, val targetId: String)

Request object containing input parameters for the ExtensionsDomain.triggerAction command.

Link copied to clipboard
@Serializable
object TriggerActionResponse

A dummy response object for the ExtensionsDomain.triggerAction 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 UninstallRequest(val id: String)

Request object containing input parameters for the ExtensionsDomain.uninstall command.

Link copied to clipboard
@Serializable
object UninstallResponse

A dummy response object for the ExtensionsDomain.uninstall 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.