Loading...
Searching...
No Matches
StorageManagerExample Class Reference

import snippets/StorageManager/objc/StorageManagerExample.h;

Inherits NSObject.

Public Member Functions

void demonstrateStorageManagerMethods ()
 
void demonstrateKeyValueStorageMethods ()
 
void demonstrateMultipleStorages ()
 
void demonstrateStorageAnalytics ()
 
void demonstrateDataMigration ()
 
void demonstrateStorageCleanup ()
 
void runAllDemonstrations ()
 
void cleanup ()
 
 StorageManagerExample ()
 
void demonstrateStorageManagerMethods ()
 
void demonstrateKeyValueStorageMethods ()
 
void demonstrateMultipleStorages ()
 
void demonstrateStorageAnalytics ()
 
void demonstrateDataMigration ()
 
void demonstrateStorageCleanup ()
 
void runAllDemonstrations ()
 
void cleanup ()
 
instancetype init ()
 
void demonstrateStorageManagerMethods ()
 
void demonstrateKeyValueStorageMethods ()
 
void demonstrateMultipleStorages ()
 
void demonstrateStorageAnalytics ()
 
void demonstrateDataMigration ()
 
void demonstrateStorageCleanup ()
 
void runAllDemonstrations ()
 
void cleanup ()
 

Static Public Member Functions

static void main (String[] args)
 

Public Attributes

NavigineSdk _sdk
 
StorageManager _storageManager
 
KeyValueStorage _userStorage
 
KeyValueStorage _appStorage
 
KeyValueStorage _cacheStorage
 

Detailed Description

StorageManager and KeyValueStorage usage example for Dart/Flutter Demonstrates working with storage management, key-value storage operations, and data persistence

StorageManager and KeyValueStorage usage example for Java Demonstrates working with storage management, key-value storage operations, and data persistence

StorageManager and KeyValueStorage usage example for Objective-C Demonstrates working with storage management, key-value storage operations, and data persistence

Definition at line 9 of file storage_manager_example.dart.

Constructor & Destructor Documentation

◆ StorageManagerExample()

StorageManagerExample.StorageManagerExample ( )
inline

Definition at line 17 of file StorageManagerExample.java.

Member Function Documentation

◆ cleanup() [1/3]

void StorageManagerExample.cleanup ( )
inline

Cleanup resources

Definition at line 552 of file StorageManagerExample.m.

◆ cleanup() [2/3]

void StorageManagerExample.cleanup ( )
inline

Cleanup resources

Definition at line 552 of file StorageManagerExample.java.

◆ cleanup() [3/3]

void StorageManagerExample.cleanup ( )
virtual

Cleanup resources

◆ demonstrateDataMigration() [1/3]

void StorageManagerExample.demonstrateDataMigration ( )
inline

Demonstrate data migration

Definition at line 423 of file StorageManagerExample.m.

◆ demonstrateDataMigration() [2/3]

void StorageManagerExample.demonstrateDataMigration ( )
inline

Demonstrate data migration

Definition at line 423 of file StorageManagerExample.java.

◆ demonstrateDataMigration() [3/3]

void StorageManagerExample.demonstrateDataMigration ( )
virtual

Demonstrate data migration

◆ demonstrateKeyValueStorageMethods() [1/3]

void StorageManagerExample.demonstrateKeyValueStorageMethods ( )
inline

Demonstrate KeyValueStorage methods

Definition at line 113 of file StorageManagerExample.m.

◆ demonstrateKeyValueStorageMethods() [2/3]

void StorageManagerExample.demonstrateKeyValueStorageMethods ( )
inline

Demonstrate KeyValueStorage methods

Definition at line 113 of file StorageManagerExample.java.

◆ demonstrateKeyValueStorageMethods() [3/3]

void StorageManagerExample.demonstrateKeyValueStorageMethods ( )
virtual

Demonstrate KeyValueStorage methods

◆ demonstrateMultipleStorages() [1/3]

void StorageManagerExample.demonstrateMultipleStorages ( )
inline

Demonstrate multiple storages

Definition at line 262 of file StorageManagerExample.m.

◆ demonstrateMultipleStorages() [2/3]

void StorageManagerExample.demonstrateMultipleStorages ( )
inline

Demonstrate multiple storages

Definition at line 262 of file StorageManagerExample.java.

◆ demonstrateMultipleStorages() [3/3]

void StorageManagerExample.demonstrateMultipleStorages ( )
virtual

Demonstrate multiple storages

◆ demonstrateStorageAnalytics() [1/3]

void StorageManagerExample.demonstrateStorageAnalytics ( )
inline

Demonstrate storage analytics

Definition at line 348 of file StorageManagerExample.m.

◆ demonstrateStorageAnalytics() [2/3]

void StorageManagerExample.demonstrateStorageAnalytics ( )
inline

Demonstrate storage analytics

Definition at line 348 of file StorageManagerExample.java.

◆ demonstrateStorageAnalytics() [3/3]

void StorageManagerExample.demonstrateStorageAnalytics ( )
virtual

Demonstrate storage analytics

◆ demonstrateStorageCleanup() [1/3]

void StorageManagerExample.demonstrateStorageCleanup ( )
inline

Demonstrate storage cleanup

Definition at line 504 of file StorageManagerExample.m.

◆ demonstrateStorageCleanup() [2/3]

void StorageManagerExample.demonstrateStorageCleanup ( )
inline

Demonstrate storage cleanup

Definition at line 504 of file StorageManagerExample.java.

◆ demonstrateStorageCleanup() [3/3]

void StorageManagerExample.demonstrateStorageCleanup ( )
virtual

Demonstrate storage cleanup

◆ demonstrateStorageManagerMethods() [1/3]

void StorageManagerExample.demonstrateStorageManagerMethods ( )
inline

Demonstrate StorageManager methods

Definition at line 77 of file StorageManagerExample.m.

◆ demonstrateStorageManagerMethods() [2/3]

void StorageManagerExample.demonstrateStorageManagerMethods ( )
inline

Demonstrate StorageManager methods

Definition at line 77 of file StorageManagerExample.java.

◆ demonstrateStorageManagerMethods() [3/3]

void StorageManagerExample.demonstrateStorageManagerMethods ( )
virtual

Demonstrate StorageManager methods

◆ init()

instancetype StorageManagerExample::init ( )
virtual

Initialize the example

Definition at line 13 of file StorageManagerExample.m.

◆ main()

static void StorageManagerExample.main ( String[] args)
inlinestatic

Main method to run the example

Definition at line 570 of file StorageManagerExample.java.

◆ runAllDemonstrations() [1/3]

void StorageManagerExample.runAllDemonstrations ( )
inline

Run all demonstrations

Definition at line 536 of file StorageManagerExample.m.

◆ runAllDemonstrations() [2/3]

void StorageManagerExample.runAllDemonstrations ( )
inline

Run all demonstrations

Definition at line 536 of file StorageManagerExample.java.

◆ runAllDemonstrations() [3/3]

void StorageManagerExample.runAllDemonstrations ( )
virtual

Run all demonstrations

Member Data Documentation

◆ _appStorage

KeyValueStorage StorageManagerExample._appStorage

Definition at line 13 of file storage_manager_example.dart.

◆ _cacheStorage

KeyValueStorage StorageManagerExample._cacheStorage

Definition at line 14 of file storage_manager_example.dart.

◆ _sdk

NavigineSdk StorageManagerExample._sdk

Definition at line 10 of file storage_manager_example.dart.

◆ _storageManager

StorageManager StorageManagerExample._storageManager

Definition at line 11 of file storage_manager_example.dart.

◆ _userStorage

KeyValueStorage StorageManagerExample._userStorage

Definition at line 12 of file storage_manager_example.dart.


The documentation for this class was generated from the following files: