pl.wendigo.chrome.api.storage / StorageOperations

StorageOperations

class StorageOperations (source)

StorageOperations represents Storage protocol domain request/response operations and events that can be captured.

This API is marked as experimental in protocol definition and can change in the future.

Link
Protocol Storage domain documentation.

Functions

cacheStorageContentUpdated

fun cacheStorageContentUpdated(): Flowable<CacheStorageContentUpdatedEvent>

A cache's contents have been modified.

cacheStorageContentUpdatedTimed

fun cacheStorageContentUpdatedTimed(): Flowable<Timed<CacheStorageContentUpdatedEvent>>

A cache's contents have been modified.

cacheStorageListUpdated

fun cacheStorageListUpdated(): Flowable<CacheStorageListUpdatedEvent>

A cache has been added/deleted.

cacheStorageListUpdatedTimed

fun cacheStorageListUpdatedTimed(): Flowable<Timed<CacheStorageListUpdatedEvent>>

A cache has been added/deleted.

clearDataForOrigin

fun clearDataForOrigin(input: ClearDataForOriginRequest): Single<ResponseFrame>

Clears storage for origin.

events

fun events(): Flowable<Event>

Returns flowable capturing all Storage domains events.

getUsageAndQuota

fun getUsageAndQuota(input: GetUsageAndQuotaRequest): Single<GetUsageAndQuotaResponse>

Returns usage and quota in bytes.

indexedDBContentUpdated

fun indexedDBContentUpdated(): Flowable<IndexedDBContentUpdatedEvent>

The origin's IndexedDB object store has been modified.

indexedDBContentUpdatedTimed

fun indexedDBContentUpdatedTimed(): Flowable<Timed<IndexedDBContentUpdatedEvent>>

The origin's IndexedDB object store has been modified.

indexedDBListUpdated

fun indexedDBListUpdated(): Flowable<IndexedDBListUpdatedEvent>

The origin's IndexedDB database list has been modified.

indexedDBListUpdatedTimed

fun indexedDBListUpdatedTimed(): Flowable<Timed<IndexedDBListUpdatedEvent>>

The origin's IndexedDB database list has been modified.

trackCacheStorageForOrigin

fun trackCacheStorageForOrigin(input: TrackCacheStorageForOriginRequest): Single<ResponseFrame>

Registers origin to be notified when an update occurs to its cache storage list.

trackIndexedDBForOrigin

fun trackIndexedDBForOrigin(input: TrackIndexedDBForOriginRequest): Single<ResponseFrame>

Registers origin to be notified when an update occurs to its IndexedDB.

untrackCacheStorageForOrigin

fun untrackCacheStorageForOrigin(input: UntrackCacheStorageForOriginRequest): Single<ResponseFrame>

Unregisters origin from receiving notifications for cache storage.

untrackIndexedDBForOrigin

fun untrackIndexedDBForOrigin(input: UntrackIndexedDBForOriginRequest): Single<ResponseFrame>

Unregisters origin from receiving notifications for IndexedDB.