Common Functions
Algorithm Raw Data Collection and Reporting
Methods
listenReceiveAlgorithmRawData(rawDataReply:)
Listen to algorithm raw data collection (global one-time listener)
- Parameters:
- rawDataReply: Returned acquisition data entity
Example
Swift:
// Listen to collected algorithm raw data, updated whenever there is data
sdk.cmd.listenReceiveAlgorithmRawData { rawInfo in
if (rawInfo.errCode == 0) {
// Success
}else {
// Failure
}
}
Kotlin:
// Listen to collected algorithm raw data, updated whenever there is data
sdk.cmd.listenReceiveAlgorithmRawData {
if (it.errCode == 0) {
// Success
}else {
// Failure
}
}