获取活动数量
功能表
__IDO_FUNCTABLE__.funcTable4Model.timeLine
|| [IDOGetDeviceFuncBluetoothModel isHaveMovment]
活动数量模型说明
- IDOGetActivityCountBluetoothModel
| 参数 | 说明 | 备注 |
|---|---|---|
| activityCount | 活动个数 | int |
| activityPacketCount | 活动包个数 | int |
| gpsCount | GPS个数 | int |
| gpsPacketCount | GPS包个数 | int |
命令代码
Objc:
[IDOFoundationCommand getActivityCountCommand:^(int errorCode, IDOGetActivityCountBluetoothModel * _Nullable data) {
if (errorCode == 0) {
//获取成功
}else if (errorCode == 6) {
//设备不支持
}else {
//获取失败
}
}];
Swift:
IDOFoundationCommand.getActivityCountCommand { (errorCode, model) in
if errorCode == 0 {
//获取成功
}else if errorCode == 6 {
//设备不支持
}else {
//获取失败.
}
};