public abstract class

AmazonWebStorage

extends Object
java.lang.Object
   ↳ com.amazon.android.webkit.AmazonWebStorage

Class Overview

The AmazonWebStorage class is intended to be functionally equivalent to to the WebStorage class. See WebStorage for usage.

Summary

Public Constructors
AmazonWebStorage()
Public Methods
abstract void deleteAllData()
The deleteAllData() method clears all storage being used by JavaScript storage APIs, and is intended to be functionally equivalent to the deleteAllData() method.
abstract void deleteOrigin(String origin)
The deleteOrigin() method clears the storage being used by the given origin, and is intended to be functionally equivalent to the deleteOrigin(String) method.
abstract void getOrigins(AmazonValueCallback<Map> amazonValueCallback)
The getOrigins() method gets origins using the appcache or database APIs, and is intended to be functionally equivalent to the getOrigins(android.webkit.ValueCallback) method.
abstract void getQuotaForOrigin(String origin, AmazonValueCallback<Long> amazonValueCallback)
The getQuotaForOrigin() method gets origins using the appcache or database APIs, and is intended to be functionally equivalent to the getQuotaForOrigin(String, android.webkit.ValueCallback) method.
abstract void getUsageForOrigin(String origin, AmazonValueCallback<Long> amazonValueCallback)
The getUsageForOrigin() method gets the amount of storage being used by the origin, and is intended to be functionally equivalent to the getUsageForOrigin(String, android.webkit.ValueCallback) method.
abstract void setQuotaForOrigin(String origin, long quota)
The getQuotaForOrigin() method gets the storage quota for the given origin, and is intended to be functionally equivalent to the getQuotaForOrigin(String, android.webkit.ValueCallback) method.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public AmazonWebStorage ()

Public Methods

public abstract void deleteAllData ()

The deleteAllData() method clears all storage being used by JavaScript storage APIs, and is intended to be functionally equivalent to the deleteAllData() method. See deleteAllData() for usage.

public abstract void deleteOrigin (String origin)

The deleteOrigin() method clears the storage being used by the given origin, and is intended to be functionally equivalent to the deleteOrigin(String) method. See deleteOrigin(String) for usage.

public abstract void getOrigins (AmazonValueCallback<Map> amazonValueCallback)

The getOrigins() method gets origins using the appcache or database APIs, and is intended to be functionally equivalent to the getOrigins(android.webkit.ValueCallback) method. See getOrigins(android.webkit.ValueCallback) for usage.

public abstract void getQuotaForOrigin (String origin, AmazonValueCallback<Long> amazonValueCallback)

The getQuotaForOrigin() method gets origins using the appcache or database APIs, and is intended to be functionally equivalent to the getQuotaForOrigin(String, android.webkit.ValueCallback) method. See getQuotaForOrigin(String, android.webkit.ValueCallback) for usage.

public abstract void getUsageForOrigin (String origin, AmazonValueCallback<Long> amazonValueCallback)

The getUsageForOrigin() method gets the amount of storage being used by the origin, and is intended to be functionally equivalent to the getUsageForOrigin(String, android.webkit.ValueCallback) method. See getUsageForOrigin(String, android.webkit.ValueCallback) for usage.

public abstract void setQuotaForOrigin (String origin, long quota)

The getQuotaForOrigin() method gets the storage quota for the given origin, and is intended to be functionally equivalent to the getQuotaForOrigin(String, android.webkit.ValueCallback) method. See getQuotaForOrigin(String, android.webkit.ValueCallback) for usage.