-
public final class StorageDomain
-
-
Method Summary
Modifier and Type Method Description final Flow<StorageEvent>events()Subscribes to all events related to this domain. final Flow<StorageEvent.CacheStorageContentUpdatedEvent>cacheStorageContentUpdated()A cache's contents have been modified. final Flow<StorageEvent.CacheStorageListUpdatedEvent>cacheStorageListUpdated()A cache has been added/deleted. final Flow<StorageEvent.IndexedDBContentUpdatedEvent>indexedDBContentUpdated()The origin's IndexedDB object store has been modified. final Flow<StorageEvent.IndexedDBListUpdatedEvent>indexedDBListUpdated()The origin's IndexedDB database list has been modified. final UnitclearDataForOrigin(ClearDataForOriginRequest input)Clears storage for origin. final GetCookiesResponsegetCookies(GetCookiesRequest input)Returns all browser cookies. final UnitsetCookies(SetCookiesRequest input)Sets given cookies. final UnitclearCookies(ClearCookiesRequest input)Clears cookies. final GetUsageAndQuotaResponsegetUsageAndQuota(GetUsageAndQuotaRequest input)Returns usage and quota in bytes. final UnitoverrideQuotaForOrigin(OverrideQuotaForOriginRequest input)Override quota for the specified originOfficial doc final UnittrackCacheStorageForOrigin(TrackCacheStorageForOriginRequest input)Registers origin to be notified when an update occurs to its cache storage list. final UnittrackIndexedDBForOrigin(TrackIndexedDBForOriginRequest input)Registers origin to be notified when an update occurs to its IndexedDB. final UnituntrackCacheStorageForOrigin(UntrackCacheStorageForOriginRequest input)Unregisters origin from receiving notifications for cache storage. final UnituntrackIndexedDBForOrigin(UntrackIndexedDBForOriginRequest input)Unregisters origin from receiving notifications for IndexedDB. final GetTrustTokensResponsegetTrustTokens()Returns the number of stored Trust Tokens per issuer for the current browsing context. -
-
Method Detail
-
events
final Flow<StorageEvent> events()
Subscribes to all events related to this domain.
-
cacheStorageContentUpdated
final Flow<StorageEvent.CacheStorageContentUpdatedEvent> cacheStorageContentUpdated()
A cache's contents have been modified.
-
cacheStorageListUpdated
final Flow<StorageEvent.CacheStorageListUpdatedEvent> cacheStorageListUpdated()
A cache has been added/deleted.
-
indexedDBContentUpdated
final Flow<StorageEvent.IndexedDBContentUpdatedEvent> indexedDBContentUpdated()
The origin's IndexedDB object store has been modified.
-
indexedDBListUpdated
final Flow<StorageEvent.IndexedDBListUpdatedEvent> indexedDBListUpdated()
The origin's IndexedDB database list has been modified.
-
clearDataForOrigin
final Unit clearDataForOrigin(ClearDataForOriginRequest input)
Clears storage for origin.
-
getCookies
final GetCookiesResponse getCookies(GetCookiesRequest input)
Returns all browser cookies.
-
setCookies
final Unit setCookies(SetCookiesRequest input)
Sets given cookies.
-
clearCookies
final Unit clearCookies(ClearCookiesRequest input)
Clears cookies.
-
getUsageAndQuota
final GetUsageAndQuotaResponse getUsageAndQuota(GetUsageAndQuotaRequest input)
Returns usage and quota in bytes.
-
overrideQuotaForOrigin
final Unit overrideQuotaForOrigin(OverrideQuotaForOriginRequest input)
Override quota for the specified origin
-
trackCacheStorageForOrigin
final Unit trackCacheStorageForOrigin(TrackCacheStorageForOriginRequest input)
Registers origin to be notified when an update occurs to its cache storage list.
-
trackIndexedDBForOrigin
final Unit trackIndexedDBForOrigin(TrackIndexedDBForOriginRequest input)
Registers origin to be notified when an update occurs to its IndexedDB.
-
untrackCacheStorageForOrigin
final Unit untrackCacheStorageForOrigin(UntrackCacheStorageForOriginRequest input)
Unregisters origin from receiving notifications for cache storage.
-
untrackIndexedDBForOrigin
final Unit untrackIndexedDBForOrigin(UntrackIndexedDBForOriginRequest input)
Unregisters origin from receiving notifications for IndexedDB.
-
getTrustTokens
final GetTrustTokensResponse getTrustTokens()
Returns the number of stored Trust Tokens per issuer for the current browsing context.
-
-
-
-