WebStorage

Since: BlackBerry 10.0.0

#include <bb/cascades/WebStorage>

Utilities for accessing the storage for a WebView control.

Each WebView instance has an associated WebStorage which can be referenced by reading the WebView storage property. You should never have any reason to create an instance of this class yourself.

Note: Some storage is process wide and not tied an individual WebView. For example, clearing cookies on one WebView will clear the cookies for all other WebViews running inside the same process.


Overview

Properties Index

Public Functions Index

Public Slots Index

Properties

bb::cascades::WebCookieJar cookieJar[read-only]

A jar (database) containing web cookies.

Since:

BlackBerry 10.0.0

Public Functions

bb::cascades::WebCookieJar * cookieJar ()

Returns the cookie jar.

See also:

WebCookieJar.

Since:

BlackBerry 10.0.0

Public Slots

void clear ()

Clears all data stored by this WebView.

This is analogous to calling clearAutofillData(), clearCache(), clearCookies(), clearCredentials(), clearLocalStorage() and clearWebFileSystem().

Since:

BlackBerry 10.0.0

void clearAutofillData ()

Clears the form AutoFill data accumulated in this WebView.

Since:

BlackBerry 10.0.0

void clearCache ()

Clears the cache accumulated by this WebView.

Since:

BlackBerry 10.0.0

void clearCookies ()

Clears the cookie database stored for this WebView.

Since:

BlackBerry 10.0.0

void clearCredentials ()

Clears the login credentials accumulated in this WebView.

Since:

BlackBerry 10.0.0

void clearDatabases ()

Clears any databases kept by this WebView.

Since:

BlackBerry 10.0.0

void clearLocalStorage ()

Clears the local storage for this WebView.

Since:

BlackBerry 10.0.0

void clearWebFileSystem ()

Clears the web file system for this WebView.

Since:

BlackBerry 10.0.0

Last modified: 2014-03-13

comments powered by Disqus