设置表盘ID

功能表

__IDO_FUNCTABLE__.funcTable18Model.watchDial

表盘ID模型说明

  • IDOSetWatchDiaInfoBluetoothModel
参数 说明 备注
dialId 表盘ID int

命令代码

Objc:

IDOSetWatchDiaInfoBluetoothModel * model = [IDOSetWatchDiaInfoBluetoothModel currentModel];
[IDOFoundationCommand setWatchDiaCommand:model
                                callback:^(int errorCode) {
    if (errorCode == 0) {
       //设置成功
    }else if (errorCode == 6) {
      //设备不支持
    }else {
      //设置失败
    }
}];

Swift:

let model = IDOSetWatchDiaInfoBluetoothModel.current();
IDOFoundationCommand.setWatchDia(model) { (errorCode) in
     if errorCode == 0 {
        //设置成功
     }else if errorCode == 6{
        //设备不支持此方法
     }else {
       //设置错误
     }
};
Copyright © 2015-2020 IDO. All rights reserved. all right reserved,powered by Gitbook修订时间: 2023-12-18 10:04:13

results matching ""

    No results matching ""