Set Algorithm Raw Data Collection Configuration

Function Table: supportAlgorithmRawDataCollect

Example

Swift

Cmds.setAlgorithmRawDataSensorConfig(ppg: .open, acc: .open).send { rs in
    if case .success(let obj) = rs {
        // Success
    }else {
        // Failure
    }
}

Kotlin

val param = IDOAppletControlModel(operate: 1)
Cmds.setAlgorithmRawDataSensorConfig(ppg: IDOAlgorithmSensorSwitch.OPEN, acc: IDOAlgorithmSensorSwitch.OPEN).send {
    if (it.error.code == 0) {
        // Success
    }else {
        // Failure
    }
}
Copyright © 2023-2024 IDO. All rights reserved. all right reserved,powered by Gitbook修改日期: 2026-03-13 12:04:56

results matching ""

    No results matching ""