You can invoke this method to delete a Cloud DB zone object that is no longer
used on the device. You can delete Cloud DB zone only after Cloud DB zone is closed.
You can invoke this method to disable the data synchronization on the local device.
After data synchronization is disabled, data will not be synchronized between the device and the cloud.
You can invoke this method to open the data synchronization on the local device.
Data can be synchronized between the device and the cloud only after data synchronization is enabled.
You can invoke this API to create or open an object of a Cloud DB zone on the device.
An object of a Cloud DB zone represents a unique data storage zone.
An application supports a maximum of 4 Cloud DB zone on the device.
You can invoke this API to create or open an object of a Cloud DB zone on the device.
An object of a Cloud DB zone represents a unique data storage zone.
An application supports a maximum of 4 Cloud DB zone on the device.
This method is called to set or modify the user password for Cloud DB full encryption.
For the cache mode, you are advised to enable local database encryption on the device
to ensure local data security. If the object type you create on
the AppGallery Connect console contains encrypted fields but
you do not use setUserKey() to set the user password, the data of this object type
cannot be synchronized to the cloud and you cannot perform operations
on the data of this object type on the cloud.
A data key used to encrypt user data and are automatically generated by the system.
To prevent from being cracked when using one key for a long time,
you can call this method to update the data key.