hwc.SUPStorage class

Storage

Syntax

new SUPStorage( store )

Parameters

Name Type Description
store string the store name

Example

var store1 = new hwc.SUPStorage("one");

Members

Name Description
BB7_MAX_STRING_STORAGE_LENGTH A constant for the maximum length for a string being stored on BB7 BB7 cannot handle strings with length longer than 524000 This restriction applies to real devices as well as simulators.

Methods

Name Description
clear() Storage
getItem( key ) Storage
key( index ) Storage
length() Storage
removeItem( key ) Storage
setItem( key, value ) Storage

Source

SUPStorage.js, line 40.