Configuration of the KVManager object, including the bundle name and user information of the caller. |
|||
AsyncCallback<KVManager> |
Configuration of the KVManager object, including the bundle name and user information of the caller. |
Promise<KVManager> |
User who logs in to different devices using the same account. |
Unique identifier of the KV store. The length cannot exceed MAX_STORE_ID_LENGTH. |
|||
Unique identifier of the KV store. The length cannot exceed MAX_STORE_ID_LENGTH. |
|||
Multi-version KV store. This type is not supported currently. |
Key of the key-value pair to add. It cannot be empty, and the length cannot exceed MAX_KEY_LENGTH. |
|||
Value of the key-value pair to add. The value type can be Uint8Array, number, string, or boolean. A value of the Uint8Array or string type cannot exceed MAX_VALUE_LENGTH. |
|||
Key of the key-value pair to add. It cannot be empty, and the length cannot exceed MAX_KEY_LENGTH. |
|||
Value of the key-value pair to add. The value type can be Uint8Array, number, string, or boolean. A value of the Uint8Array or string type cannot exceed MAX_VALUE_LENGTH. |
Key of the KV pair to delete. It cannot be empty, and the length cannot exceed MAX_KEY_LENGTH. |
|||
Key of the KV pair to delete. It cannot be empty, and the length cannot exceed MAX_KEY_LENGTH. |
Callback<ChangeNotification> |
Entry[] |
||||
Entry[] |
||||
Entry[] |
||||
Specific value. A value of the Uint8Array or string type cannot exceed MAX_VALUE_LENGTH. |
Key of the value to obtain. It cannot be empty, and the length cannot exceed MAX_KEY_LENGTH. |
|||
Key of the value to obtain. It cannot be empty, and the length cannot exceed MAX_KEY_LENGTH. |
List of IDs of the devices in the same networking environment to be synchronized. |
|||
Push data from the local end to the peer end and then pull data from the peer end to the local end. |