Synchronize state of hardware.
The sequence of callbacks is guaranteed to be zero or more onStatus or onStatusProgress, then exactly one of onSuccess or onError.
onStatus
onStatusProgress
onSuccess
onError
ID for the session to use.
Hardware ID, in the format "hw_3vms1xqucnus4ppfnl9h".
For how long to scan.
The callback that will be called on success or error.
A function that cancels the ongoing sync operation.
Synchronize state of hardware.
The sequence of callbacks is guaranteed to be zero or more
onStatus
oronStatusProgress
, then exactly one ofonSuccess
oronError
.