akiles-react-native
    Preparing search index...

    Function sync

    • 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.

      Parameters

      • sessionID: string

        ID for the session to use.

      • hardwareID: string

        Hardware ID, in the format "hw_3vms1xqucnus4ppfnl9h".

      • timeout: number

        For how long to scan.

      • callback: SyncCallback

        The callback that will be called on success or error.

      Returns () => void

      A function that cancels the ongoing sync operation.