Subclass that allows storing key-value pairs locally.
More...
|
| static void | SetItem (string key, string value) |
| | Add persistent data to the local storage.
|
| |
| static async Task< string?> | GetItem (string key) |
| | Get data from the local storage.
|
| |
| static void | Clear () |
| | Clear local storage.
|
| |
Subclass that allows storing key-value pairs locally.
◆ Clear()
| static void Dissonity.Api.LocalStorage.Clear |
( |
| ) |
|
|
inlinestatic |
Clear local storage.
- Exceptions
-
| InvalidOperationException | |
◆ GetItem()
| static async Task< string?> Dissonity.Api.LocalStorage.GetItem |
( |
string | key | ) |
|
|
inlinestatic |
Get data from the local storage.
- Exceptions
-
| InvalidOperationException | |
◆ SetItem()
| static void Dissonity.Api.LocalStorage.SetItem |
( |
string | key, |
|
|
string | value ) |
|
inlinestatic |
Add persistent data to the local storage.
- Exceptions
-
| InvalidOperationException | |
The documentation for this class was generated from the following file: