1.00
8.28
randomaccessfile
sql
b4xencryption
b4a.example3.keyvaluestore
KeyValueStore
KeyValueStore: v2.21
process
IsInitialized
Tests whether the object has been initialized.
boolean
_class_globals
String
_close
Closes the store.
String
_containskey
Tests whether a key is available in the store.
boolean
Key
String
_deleteall
Deletes all data from the store.
String
_get
Object
Key
String
_getbitmap
anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper
Key
String
_getdefault
Object
Key
String
DefaultValue
Object
_getencrypted
Object
Key
String
Password
String
_getmapasync
Asynchronously retrieves the values from the store.
The result is a map with the keys and values.
<code>
Wait For (Starter.kvs.GetMapAsync(Array("2 custom types", "time"))) Complete (Result As Map)
</code>
anywheresoftware.b4a.keywords.Common.ResumableSubWrapper
Keys
anywheresoftware.b4a.objects.collections.List
_initialize
Initializes the store and sets the store file.
String
ba
anywheresoftware.b4a.BA
Dir
String
FileName
String
_listkeys
Returns a list with all the keys.
anywheresoftware.b4a.objects.collections.List
_put
String
Key
String
Value
Object
_putbitmap
String
Key
String
Value
anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper
_putencrypted
String
Key
String
Value
Object
Password
String
_putmapasync
Asynchronously inserts the keys and values from the map.
Note that each pair is inserted as a separate item.
Call it with Wait For if you want to wait for the insert to complete.
anywheresoftware.b4a.keywords.Common.ResumableSubWrapper
Map
anywheresoftware.b4a.objects.collections.Map
_remove
Removes the key and value mapped to this key.
String
Key
String
2.21
DEPRECATED - use KeyValueStore instead.