import"extIApplication.idl";
Interface representing a simple storage system
Definition at line 346 of file extIApplication.idl.
nsIVariant extISessionStorage::get |
( |
in AString |
aName, |
|
|
in nsIVariant |
aDefaultValue |
|
) |
| |
Gets the value of a storage item with the given name. Returns a default value if the item does not exist.
- Parameters
-
aName | The name of an item |
aDefaultValue | The value to return if no item exists with the given name |
- Returns
- value of the item or the given default value if no item exists with the given name.
boolean extISessionStorage::has |
( |
in AString |
aName | ) |
|
Determines if a storage item exists with the given name.
- Parameters
-
- Returns
- true if an item exists with the given name, false otherwise.
void extISessionStorage::set |
( |
in AString |
aName, |
|
|
in nsIVariant |
aValue |
|
) |
| |
Sets the value of a storage item with the given name.
- Parameters
-
aName | The name of an item |
aValue | The value to assign to the item |
readonly attribute extIEvents extISessionStorage::events |
The documentation for this interface was generated from the following file: