Lines Matching refs:sync
6 …ersion compatibility issues in distributed scenarios and simplifies conflict handling in data sync.
11 Before implementing cross-device sync of KV stores, understand the following concepts:
32 **DatamgrService** provides the following sync types:
36 …sync()** with the devices to be synced and the sync mode specified to trigger the sync. The sync m…
41 … the peer data to the local device for data sync. In this case, the application does not need to c…
53 …ssfully, an auto sync is triggered. The distributed data is sent to the peer device through the co…
55 If **sync()** is called successfully, a manual sync is triggered to send distributed data to the pe…
82 The following table lists the APIs for cross-device data sync of the single KV store. Most of the A…
91 | sync(deviceIds: string[], mode: SyncMode, delayMs?: number): void | Triggers a manual sync of the…
96 …gle KV store as an example to describe how to implement cross-device data sync. The development pr…
102 …ce Sync](access-control-by-device-and-data-level.md#access-control-mechanism-in-cross-device-sync).
165 …e the auto sync function (**autoSync:false**) to facilitate subsequent verification of the sync fu…
289 …Select the devices to be synced with data and the sync mode. The user needs to confirm the sync mo…
293 …> In manual sync mode, **deviceIds** can be obtained by [devManager.getAvailableDeviceListSync](..…
312 kvStore.sync(deviceIds, distributedKVStore.SyncMode.PUSH_ONLY, 1000);