Get Activity count

Function table

__IDO_FUNCTABLE__.funcTable4Model.timeLine
                ||[IDOGetDeviceFuncBluetoothModel isHaveMovment]

Activity count model description

  • IDOGetActivityCountBluetoothModel
Parameter Description Notes
activityCount activity count int
activityPacketCount activity packet count int
gpsCount GPScount int
gpsPacketCount GPS packet count int

command code

Objc:

[IDOFoundationCommand getActivityCountCommand:^(int errorCode, IDOGetActivityCountBluetoothModel * _Nullable data) {
    if (errorCode == 0) {
       // get success
    }else if (errorCode == 6) {
       //device does not support
    }else {
       //get failed
    }
}];

Swift:

IDOFoundationCommand.getActivityCountCommand { (errorCode, model) in
    if errorCode == 0 {
        //get success
    }else if errorCode == 6 {
       //device does not support
    }else {
       //get failed.                                                                                                                                                                                                                                    
    }
};
Copyright © 2015-2020 IDO. All rights reserved. all right reserved,powered by GitbookModify Date: 2023-12-18 10:04:13

results matching ""

    No results matching ""