You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1799 lines
54 KiB
1799 lines
54 KiB
<!DOCTYPE html> |
|
<html> |
|
<head> |
|
<meta charset="utf-8"> |
|
|
|
<title>ECellCommandProvider Class Reference</title> |
|
|
|
<link rel="stylesheet" href="../css/style.css"> |
|
<meta name="viewport" content="initial-scale=1, maximum-scale=1.4"> |
|
<meta name="generator" content="appledoc 2.2.1 (build 1334)"> |
|
</head> |
|
<body class="appledoc"> |
|
<header> |
|
<div class="container" class="hide-in-xcode"> |
|
|
|
<h1 id="library-title"> |
|
<a href="../index.html">ECellBluetooth </a> |
|
</h1> |
|
|
|
<p id="developer-home"> |
|
<a href="../index.html">ECell</a> |
|
</p> |
|
|
|
</div> |
|
</header> |
|
|
|
<aside> |
|
<div class="container"> |
|
<nav> |
|
<ul id="header-buttons" role="toolbar"> |
|
<li><a href="../index.html">Index</a></li> |
|
<li><a href="../hierarchy.html">Hierarchy</a></li> |
|
|
|
<li id="on-this-page" role="navigation"> |
|
<label> |
|
On This Page |
|
|
|
<div class="chevron"> |
|
<div class="chevy chevron-left"></div> |
|
<div class="chevy chevron-right"></div> |
|
</div> |
|
|
|
<select id="jump-to"> |
|
<option value="top">Jump To…</option> |
|
|
|
|
|
|
|
|
|
<option value="tasks">Tasks</option> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<optgroup label="Class Methods"> |
|
|
|
<option value="//api/name/cameraControlCommandIsOpen:callback:">+ cameraControlCommandIsOpen:callback:</option> |
|
|
|
<option value="//api/name/conversionCycleArray:">+ conversionCycleArray:</option> |
|
|
|
<option value="//api/name/findDeviceCommand:">+ findDeviceCommand:</option> |
|
|
|
<option value="//api/name/gesturesControlCommandHand:raise:flip:callback:">+ gesturesControlCommandHand:raise:flip:callback:</option> |
|
|
|
<option value="//api/name/getBatteryCommand:">+ getBatteryCommand:</option> |
|
|
|
<option value="//api/name/getCurrentLanguageCode">+ getCurrentLanguageCode</option> |
|
|
|
<option value="//api/name/getFirmwareInfoCommand:">+ getFirmwareInfoCommand:</option> |
|
|
|
<option value="//api/name/getHealthDataCommandType:year:month:day:callback:">+ getHealthDataCommandType:year:month:day:callback:</option> |
|
|
|
<option value="//api/name/getProfileCommand:">+ getProfileCommand:</option> |
|
|
|
<option value="//api/name/getRealTimeDataCommandType:callback:">+ getRealTimeDataCommandType:callback:</option> |
|
|
|
<option value="//api/name/getSendCmdID">+ getSendCmdID</option> |
|
|
|
<option value="//api/name/listenDevceReportCommand:">+ listenDevceReportCommand:</option> |
|
|
|
<option value="//api/name/packetData:cmdKey:ParamData:ResultBlock:">+ packetData:cmdKey:ParamData:ResultBlock:</option> |
|
|
|
<option value="//api/name/sendDialPushCommandNumber:type:fileLenght:callback:">+ sendDialPushCommandNumber:type:fileLenght:callback:</option> |
|
|
|
<option value="//api/name/sendFlashDataCommandTotal:curren:lenght:data:callback:">+ sendFlashDataCommandTotal:curren:lenght:data:callback:</option> |
|
|
|
<option value="//api/name/setAlarmClockCommandAlarms:callback:">+ setAlarmClockCommandAlarms:callback:</option> |
|
|
|
<option value="//api/name/setDateCommandYear:month:day:hour:min:second:is12Hour:callback:">+ setDateCommandYear:month:day:hour:min:second:is12Hour:callback:</option> |
|
|
|
<option value="//api/name/setDrinkRemindCommandIsOpen:startHour:startMin:endHour:endMin:cycle:interval:callback:">+ setDrinkRemindCommandIsOpen:startHour:startMin:endHour:endMin:cycle:interval:callback:</option> |
|
|
|
<option value="//api/name/setHeartRateCheckCommandIsOpen:startHour:startMin:endHour:endMin:interval:callback:">+ setHeartRateCheckCommandIsOpen:startHour:startMin:endHour:endMin:interval:callback:</option> |
|
|
|
<option value="//api/name/setNotDisturbCommandIsOpen:startHour:startMin:endHour:endMin:callback:">+ setNotDisturbCommandIsOpen:startHour:startMin:endHour:endMin:callback:</option> |
|
|
|
<option value="//api/name/setPushCommandPushValue:callback:">+ setPushCommandPushValue:callback:</option> |
|
|
|
<option value="//api/name/setRemindModelCommandRemindType:callback:">+ setRemindModelCommandRemindType:callback:</option> |
|
|
|
<option value="//api/name/setSedentaryCommandIsOpen:startHour:endHour:cycle:sittingTime:sittingThreshold:callback:">+ setSedentaryCommandIsOpen:startHour:endHour:cycle:sittingTime:sittingThreshold:callback:</option> |
|
|
|
<option value="//api/name/setSportTargetCommandStep:sportMode:callback:">+ setSportTargetCommandStep:sportMode:callback:</option> |
|
|
|
<option value="//api/name/setSystemUserCommandLanguageCode:is12Hour:callback:">+ setSystemUserCommandLanguageCode:is12Hour:callback:</option> |
|
|
|
<option value="//api/name/setUnitCommandMeasure:temperature:callback:">+ setUnitCommandMeasure:temperature:callback:</option> |
|
|
|
<option value="//api/name/setUserInfoCommandGender:age:height:weight:goal:BMI:callback:">+ setUserInfoCommandGender:age:height:weight:goal:BMI:callback:</option> |
|
|
|
<option value="//api/name/setWeatherPushCommandLowTemperature:highTemperature:weatherType:currenTemperature:callback:">+ setWeatherPushCommandLowTemperature:highTemperature:weatherType:currenTemperature:callback:</option> |
|
|
|
<option value="//api/name/stitchWithErr:Ack:Vision:">+ stitchWithErr:Ack:Vision:</option> |
|
|
|
<option value="//api/name/syncConfig">+ syncConfig</option> |
|
|
|
</optgroup> |
|
|
|
|
|
|
|
|
|
</select> |
|
</label> |
|
</li> |
|
</ul> |
|
</nav> |
|
</div> |
|
</aside> |
|
|
|
<article> |
|
<div id="overview_contents" class="container"> |
|
<div id="content"> |
|
<main role="main"> |
|
<h1 class="title">ECellCommandProvider Class Reference</h1> |
|
|
|
|
|
<div class="section section-specification"><table cellspacing="0"><tbody> |
|
<tr> |
|
<th>Inherits from</th> |
|
<td>NSObject</td> |
|
</tr><tr> |
|
<th>Declared in</th> |
|
<td>ECellCommandProvider.h</td> |
|
</tr> |
|
</tbody></table></div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="section section-tasks"> |
|
<a title="Tasks" name="tasks"></a> |
|
|
|
|
|
|
|
<h2 class="task-title">Other Methods</h2> |
|
|
|
<div class="task-list"> |
|
<div class="section-method"> |
|
<a name="//api/name/syncConfig" title="syncConfig"></a> |
|
<h3 class="method-title"><code><a href="#//api/name/syncConfig">+ syncConfig</a></code> |
|
</h3> |
|
|
|
<div class="method-info"> |
|
<div class="pointy-thing"></div> |
|
|
|
<div class="method-info-container"> |
|
|
|
|
|
<div class="method-subsection brief-description"> |
|
<p>同步基础配置(时间/语言)跟随系统同步(默认连接上自动同步) | Synchronization basic configuration (platform/device information/time/language) follows system synchronization(Automatic synchronization on the default connection)</p> |
|
</div> |
|
|
|
|
|
|
|
<div class="method-subsection method-declaration"><code>+ (void)syncConfig</code></div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection discussion-section"> |
|
<h4 class="method-subtitle">Discussion</h4> |
|
<p>同步基础配置(时间/语言)跟随系统同步(默认连接上自动同步) | Synchronization basic configuration (platform/device information/time/language) follows system synchronization(Automatic synchronization on the default connection)</p> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection declared-in-section"> |
|
<h4 class="method-subtitle">Declared In</h4> |
|
<p><code class="declared-in-ref">ECellCommandProvider.h</code></p> |
|
</div> |
|
|
|
|
|
</div> |
|
</div> |
|
</div><div class="section-method"> |
|
<a name="//api/name/setDateCommandYear:month:day:hour:min:second:is12Hour:callback:" title="setDateCommandYear:month:day:hour:min:second:is12Hour:callback:"></a> |
|
<h3 class="method-title"><code><a href="#//api/name/setDateCommandYear:month:day:hour:min:second:is12Hour:callback:">+ setDateCommandYear:month:day:hour:min:second:is12Hour:callback:</a></code> |
|
</h3> |
|
|
|
<div class="method-info"> |
|
<div class="pointy-thing"></div> |
|
|
|
<div class="method-info-container"> |
|
|
|
|
|
<div class="method-subsection brief-description"> |
|
<p>设置当前日期 | Set current date</p> |
|
</div> |
|
|
|
|
|
|
|
<div class="method-subsection method-declaration"><code>+ (void)setDateCommandYear:(NSInteger)<em>year</em> month:(NSInteger)<em>month</em> day:(NSInteger)<em>day</em> hour:(NSInteger)<em>hour</em> min:(NSInteger)<em>min</em> second:(NSInteger)<em>second</em> is12Hour:(BOOL)<em>is12Hour</em> callback:(void ( ^ _Nullable ) ( ECell_BLE_COMMAND_ERROR_TYPE errorType ))<em>callback</em></code></div> |
|
|
|
|
|
|
|
<div class="method-subsection arguments-section parameters"> |
|
<h4 class="method-subtitle parameter-title">Parameters</h4> |
|
<table class="argument-def parameter-def"> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>year</code></th> |
|
<td><p>年 | year</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>month</code></th> |
|
<td><p>月 | month</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>day</code></th> |
|
<td><p>日 | day</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>hour</code></th> |
|
<td><p>时 | hour</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>min</code></th> |
|
<td><p>分 | min</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>second</code></th> |
|
<td><p>秒 | second</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>is12Hour</code></th> |
|
<td><p>时间制 | time system</p></td> |
|
</tr> |
|
|
|
</table> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection discussion-section"> |
|
<h4 class="method-subtitle">Discussion</h4> |
|
<p>设置当前日期 | Set current date</p> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection declared-in-section"> |
|
<h4 class="method-subtitle">Declared In</h4> |
|
<p><code class="declared-in-ref">ECellCommandProvider.h</code></p> |
|
</div> |
|
|
|
|
|
</div> |
|
</div> |
|
</div><div class="section-method"> |
|
<a name="//api/name/setSystemUserCommandLanguageCode:is12Hour:callback:" title="setSystemUserCommandLanguageCode:is12Hour:callback:"></a> |
|
<h3 class="method-title"><code><a href="#//api/name/setSystemUserCommandLanguageCode:is12Hour:callback:">+ setSystemUserCommandLanguageCode:is12Hour:callback:</a></code> |
|
</h3> |
|
|
|
<div class="method-info"> |
|
<div class="pointy-thing"></div> |
|
|
|
<div class="method-info-container"> |
|
|
|
|
|
<div class="method-subsection brief-description"> |
|
<p>系统用户设置 | Set System user Settings</p> |
|
</div> |
|
|
|
|
|
|
|
<div class="method-subsection method-declaration"><code>+ (void)setSystemUserCommandLanguageCode:(NSInteger)<em>languageCode</em> is12Hour:(BOOL)<em>is12Hour</em> callback:(void ( ^ _Nullable ) ( ECell_BLE_COMMAND_ERROR_TYPE errorType ))<em>callback</em></code></div> |
|
|
|
|
|
|
|
<div class="method-subsection arguments-section parameters"> |
|
<h4 class="method-subtitle parameter-title">Parameters</h4> |
|
<table class="argument-def parameter-def"> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>languageCode</code></th> |
|
<td><p>0:中文 1:英文 2.俄罗斯语 3.西班牙语 4.德国 5.意大利 6.法国 7.葡萄牙 8.波兰语 9.荷兰 10.希腊 11.土耳其 12.罗马尼亚 13.日语 14.繁体(目前只支持M6) 15.希伯来语 16.丹麦语 17.塞尔维亚语 18:其他 | 0: Chinese 1: English 2. Russian 3. Spanish 4. Germany 5. Italy 6. France 7. Portugal 8. Polish 9. Netherlands 10. Greece 11. Turkey 12. Romania 13. Japanese 14. Traditional (currently only supported M6) 15. Hebrew 16. Danish 17. Serbian 18: others</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>is12Hour</code></th> |
|
<td><p>时间制 | time system</p></td> |
|
</tr> |
|
|
|
</table> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection discussion-section"> |
|
<h4 class="method-subtitle">Discussion</h4> |
|
<p>系统用户设置 | Set System user Settings</p> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection declared-in-section"> |
|
<h4 class="method-subtitle">Declared In</h4> |
|
<p><code class="declared-in-ref">ECellCommandProvider.h</code></p> |
|
</div> |
|
|
|
|
|
</div> |
|
</div> |
|
</div><div class="section-method"> |
|
<a name="//api/name/setUserInfoCommandGender:age:height:weight:goal:BMI:callback:" title="setUserInfoCommandGender:age:height:weight:goal:BMI:callback:"></a> |
|
<h3 class="method-title"><code><a href="#//api/name/setUserInfoCommandGender:age:height:weight:goal:BMI:callback:">+ setUserInfoCommandGender:age:height:weight:goal:BMI:callback:</a></code> |
|
</h3> |
|
|
|
<div class="method-info"> |
|
<div class="pointy-thing"></div> |
|
|
|
<div class="method-info-container"> |
|
|
|
|
|
<div class="method-subsection brief-description"> |
|
<p>用户信息设置 | Set User information Settings</p> |
|
</div> |
|
|
|
|
|
|
|
<div class="method-subsection method-declaration"><code>+ (void)setUserInfoCommandGender:(NSInteger)<em>gender</em> age:(NSInteger)<em>age</em> height:(NSInteger)<em>height</em> weight:(NSInteger)<em>weight</em> goal:(NSInteger)<em>goal</em> BMI:(NSInteger)<em>BMI</em> callback:(void ( ^ _Nullable ) ( ECell_BLE_COMMAND_ERROR_TYPE errorType ))<em>callback</em></code></div> |
|
|
|
|
|
|
|
<div class="method-subsection arguments-section parameters"> |
|
<h4 class="method-subtitle parameter-title">Parameters</h4> |
|
<table class="argument-def parameter-def"> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>gender</code></th> |
|
<td><p>0:女 1:男 | 0: female 1: male</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>age</code></th> |
|
<td><p>年龄 | age</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>height</code></th> |
|
<td><p>身高(cm) | height(cm)</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>weight</code></th> |
|
<td><p>体重(kg) | weight(kg)</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>goal</code></th> |
|
<td><p>运动目标(步数) | Moving target (steps)</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>BMI</code></th> |
|
<td><p>BMI</p></td> |
|
</tr> |
|
|
|
</table> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection discussion-section"> |
|
<h4 class="method-subtitle">Discussion</h4> |
|
<p>用户信息设置 | Set User information Settings</p> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection declared-in-section"> |
|
<h4 class="method-subtitle">Declared In</h4> |
|
<p><code class="declared-in-ref">ECellCommandProvider.h</code></p> |
|
</div> |
|
|
|
|
|
</div> |
|
</div> |
|
</div><div class="section-method"> |
|
<a name="//api/name/setPushCommandPushValue:callback:" title="setPushCommandPushValue:callback:"></a> |
|
<h3 class="method-title"><code><a href="#//api/name/setPushCommandPushValue:callback:">+ setPushCommandPushValue:callback:</a></code> |
|
</h3> |
|
|
|
<div class="method-info"> |
|
<div class="pointy-thing"></div> |
|
|
|
<div class="method-info-container"> |
|
|
|
|
|
<div class="method-subsection brief-description"> |
|
<p>设置推送 | Set the push</p> |
|
</div> |
|
|
|
|
|
|
|
<div class="method-subsection method-declaration"><code>+ (void)setPushCommandPushValue:(NSInteger)<em>pushValue</em> callback:(void ( ^ _Nullable ) ( ECell_BLE_COMMAND_ERROR_TYPE errorType ))<em>callback</em></code></div> |
|
|
|
|
|
|
|
<div class="method-subsection arguments-section parameters"> |
|
<h4 class="method-subtitle parameter-title">Parameters</h4> |
|
<table class="argument-def parameter-def"> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>pushValue</code></th> |
|
<td><p>推送值 0:推送所有 1:关闭推送(bit0:来电 bit1:短信 bit2:QQ bit3: 微信 bit4:whatsapp bit5:Messenger bit6:Twitter bit7:linkedin bit8:Instagram bit9:facebook bit10:others bit11:line bit12:viber bit13:skype bit14:Outlook)| |
|
push value 0:push all 1:close push(Bit0: call bit1: SMS bit2: QQ bit3: WeChat bit4: whatsapp bit5: Messenger bit6: Twitter bit7: linkedin Bit8: Instagram bit9: facebook bit10: others bit11:line bit12:viber bit13:skype bit14:Outlook)</p></td> |
|
</tr> |
|
|
|
</table> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection discussion-section"> |
|
<h4 class="method-subtitle">Discussion</h4> |
|
<p>设置推送 | Set the push</p> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection declared-in-section"> |
|
<h4 class="method-subtitle">Declared In</h4> |
|
<p><code class="declared-in-ref">ECellCommandProvider.h</code></p> |
|
</div> |
|
|
|
|
|
</div> |
|
</div> |
|
</div><div class="section-method"> |
|
<a name="//api/name/setHeartRateCheckCommandIsOpen:startHour:startMin:endHour:endMin:interval:callback:" title="setHeartRateCheckCommandIsOpen:startHour:startMin:endHour:endMin:interval:callback:"></a> |
|
<h3 class="method-title"><code><a href="#//api/name/setHeartRateCheckCommandIsOpen:startHour:startMin:endHour:endMin:interval:callback:">+ setHeartRateCheckCommandIsOpen:startHour:startMin:endHour:endMin:interval:callback:</a></code> |
|
</h3> |
|
|
|
<div class="method-info"> |
|
<div class="pointy-thing"></div> |
|
|
|
<div class="method-info-container"> |
|
|
|
|
|
<div class="method-subsection brief-description"> |
|
<p>设置心率检测 | Set heart rate detection</p> |
|
</div> |
|
|
|
|
|
|
|
<div class="method-subsection method-declaration"><code>+ (void)setHeartRateCheckCommandIsOpen:(BOOL)<em>isOpen</em> startHour:(NSInteger)<em>startHour</em> startMin:(NSInteger)<em>startMin</em> endHour:(NSInteger)<em>endHour</em> endMin:(NSInteger)<em>endMin</em> interval:(NSInteger)<em>interval</em> callback:(void ( ^ _Nullable ) ( ECell_BLE_COMMAND_ERROR_TYPE errorType ))<em>callback</em></code></div> |
|
|
|
|
|
|
|
<div class="method-subsection arguments-section parameters"> |
|
<h4 class="method-subtitle parameter-title">Parameters</h4> |
|
<table class="argument-def parameter-def"> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>isOpen</code></th> |
|
<td><p>开关 | switch</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>startHour</code></th> |
|
<td><p>开始时 | start hour</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>startMin</code></th> |
|
<td><p>开始分 | start min</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>endHour</code></th> |
|
<td><p>结束时 | end hour</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>endMin</code></th> |
|
<td><p>结束分 | end min</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>interval</code></th> |
|
<td><p>间隔(分钟)10的倍数 | interval(min)</p></td> |
|
</tr> |
|
|
|
</table> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection discussion-section"> |
|
<h4 class="method-subtitle">Discussion</h4> |
|
<p>设置心率检测 | Set heart rate detection</p> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection declared-in-section"> |
|
<h4 class="method-subtitle">Declared In</h4> |
|
<p><code class="declared-in-ref">ECellCommandProvider.h</code></p> |
|
</div> |
|
|
|
|
|
</div> |
|
</div> |
|
</div><div class="section-method"> |
|
<a name="//api/name/setNotDisturbCommandIsOpen:startHour:startMin:endHour:endMin:callback:" title="setNotDisturbCommandIsOpen:startHour:startMin:endHour:endMin:callback:"></a> |
|
<h3 class="method-title"><code><a href="#//api/name/setNotDisturbCommandIsOpen:startHour:startMin:endHour:endMin:callback:">+ setNotDisturbCommandIsOpen:startHour:startMin:endHour:endMin:callback:</a></code> |
|
</h3> |
|
|
|
<div class="method-info"> |
|
<div class="pointy-thing"></div> |
|
|
|
<div class="method-info-container"> |
|
|
|
|
|
<div class="method-subsection brief-description"> |
|
<p>设置勿扰模式 | Set do not disturb mode</p> |
|
</div> |
|
|
|
|
|
|
|
<div class="method-subsection method-declaration"><code>+ (void)setNotDisturbCommandIsOpen:(BOOL)<em>isOpen</em> startHour:(NSInteger)<em>startHour</em> startMin:(NSInteger)<em>startMin</em> endHour:(NSInteger)<em>endHour</em> endMin:(NSInteger)<em>endMin</em> callback:(void ( ^ _Nullable ) ( ECell_BLE_COMMAND_ERROR_TYPE errorType ))<em>callback</em></code></div> |
|
|
|
|
|
|
|
<div class="method-subsection arguments-section parameters"> |
|
<h4 class="method-subtitle parameter-title">Parameters</h4> |
|
<table class="argument-def parameter-def"> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>isOpen</code></th> |
|
<td><p>开关 | switch</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>startHour</code></th> |
|
<td><p>开始时 | start hour</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>startMin</code></th> |
|
<td><p>开始分 | start min</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>endHour</code></th> |
|
<td><p>结束时 | end hour</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>endMin</code></th> |
|
<td><p>结束分 | end min</p></td> |
|
</tr> |
|
|
|
</table> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection discussion-section"> |
|
<h4 class="method-subtitle">Discussion</h4> |
|
<p>设置勿扰模式 | Set do not disturb mode</p> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection declared-in-section"> |
|
<h4 class="method-subtitle">Declared In</h4> |
|
<p><code class="declared-in-ref">ECellCommandProvider.h</code></p> |
|
</div> |
|
|
|
|
|
</div> |
|
</div> |
|
</div><div class="section-method"> |
|
<a name="//api/name/setDrinkRemindCommandIsOpen:startHour:startMin:endHour:endMin:cycle:interval:callback:" title="setDrinkRemindCommandIsOpen:startHour:startMin:endHour:endMin:cycle:interval:callback:"></a> |
|
<h3 class="method-title"><code><a href="#//api/name/setDrinkRemindCommandIsOpen:startHour:startMin:endHour:endMin:cycle:interval:callback:">+ setDrinkRemindCommandIsOpen:startHour:startMin:endHour:endMin:cycle:interval:callback:</a></code> |
|
</h3> |
|
|
|
<div class="method-info"> |
|
<div class="pointy-thing"></div> |
|
|
|
<div class="method-info-container"> |
|
|
|
|
|
<div class="method-subsection brief-description"> |
|
<p>设置喝水提醒 | Set a water reminder</p> |
|
</div> |
|
|
|
|
|
|
|
<div class="method-subsection method-declaration"><code>+ (void)setDrinkRemindCommandIsOpen:(BOOL)<em>isOpen</em> startHour:(NSInteger)<em>startHour</em> startMin:(NSInteger)<em>startMin</em> endHour:(NSInteger)<em>endHour</em> endMin:(NSInteger)<em>endMin</em> cycle:(NSInteger)<em>cycle</em> interval:(NSInteger)<em>interval</em> callback:(void ( ^ _Nullable ) ( ECell_BLE_COMMAND_ERROR_TYPE errorType ))<em>callback</em></code></div> |
|
|
|
|
|
|
|
<div class="method-subsection arguments-section parameters"> |
|
<h4 class="method-subtitle parameter-title">Parameters</h4> |
|
<table class="argument-def parameter-def"> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>isOpen</code></th> |
|
<td><p>开关 | switch</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>startHour</code></th> |
|
<td><p>开始时 | start hour</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>startMin</code></th> |
|
<td><p>开始分 | start min</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>endHour</code></th> |
|
<td><p>结束时 | end hour</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>endMin</code></th> |
|
<td><p>结束分 | end min</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>cycle</code></th> |
|
<td><p>重复 0:表示仅一次 1:表示每天重复(bit0 - bit6分别表示周一到周日的重复设置,所有位都为0时,表示只提醒一次) | Repeat 0: only once 1: every day (bit0-bit6 is the repeat setting from Monday to Sunday, and when all bits are 0, it is only reminded once)</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>interval</code></th> |
|
<td><p>间隔(分钟)| interval(min)</p></td> |
|
</tr> |
|
|
|
</table> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection discussion-section"> |
|
<h4 class="method-subtitle">Discussion</h4> |
|
<p>设置喝水提醒 | Set a water reminder</p> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection declared-in-section"> |
|
<h4 class="method-subtitle">Declared In</h4> |
|
<p><code class="declared-in-ref">ECellCommandProvider.h</code></p> |
|
</div> |
|
|
|
|
|
</div> |
|
</div> |
|
</div><div class="section-method"> |
|
<a name="//api/name/setSedentaryCommandIsOpen:startHour:endHour:cycle:sittingTime:sittingThreshold:callback:" title="setSedentaryCommandIsOpen:startHour:endHour:cycle:sittingTime:sittingThreshold:callback:"></a> |
|
<h3 class="method-title"><code><a href="#//api/name/setSedentaryCommandIsOpen:startHour:endHour:cycle:sittingTime:sittingThreshold:callback:">+ setSedentaryCommandIsOpen:startHour:endHour:cycle:sittingTime:sittingThreshold:callback:</a></code> |
|
</h3> |
|
|
|
<div class="method-info"> |
|
<div class="pointy-thing"></div> |
|
|
|
<div class="method-info-container"> |
|
|
|
|
|
<div class="method-subsection brief-description"> |
|
<p>设置久坐提醒 | Set a sedentary reminder</p> |
|
</div> |
|
|
|
|
|
|
|
<div class="method-subsection method-declaration"><code>+ (void)setSedentaryCommandIsOpen:(BOOL)<em>isOpen</em> startHour:(NSInteger)<em>startHour</em> endHour:(NSInteger)<em>endHour</em> cycle:(NSInteger)<em>cycle</em> sittingTime:(NSInteger)<em>sittingTime</em> sittingThreshold:(NSInteger)<em>sittingThreshold</em> callback:(void ( ^ _Nullable ) ( ECell_BLE_COMMAND_ERROR_TYPE errorType ))<em>callback</em></code></div> |
|
|
|
|
|
|
|
<div class="method-subsection arguments-section parameters"> |
|
<h4 class="method-subtitle parameter-title">Parameters</h4> |
|
<table class="argument-def parameter-def"> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>isOpen</code></th> |
|
<td><p>开关 | switch</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>startHour</code></th> |
|
<td><p>开始时 | start hour</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>endHour</code></th> |
|
<td><p>结束时 | end hour</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>cycle</code></th> |
|
<td><p>重复 0:表示仅一次 1:表示每天重复(bit0 - bit6分别表示周一到周日的重复设置,所有位都为0时,表示只提醒一次) | Repeat 0: only once 1: every day (bit0-bit6 is the repeat setting from Monday to Sunday, and when all bits are 0, it is only reminded once)</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>sittingTime</code></th> |
|
<td><p>久坐时间(分钟)超过这个时间提醒 | Sitting time (min) Over this time reminder</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>sittingThreshold</code></th> |
|
<td><p>久坐阈值(步数)以小时为单位久坐时间内,步数低于这个阈值才提醒 | Sedentary threshold(Step)</p></td> |
|
</tr> |
|
|
|
</table> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection discussion-section"> |
|
<h4 class="method-subtitle">Discussion</h4> |
|
<p>设置久坐提醒 | Set a sedentary reminder</p> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection declared-in-section"> |
|
<h4 class="method-subtitle">Declared In</h4> |
|
<p><code class="declared-in-ref">ECellCommandProvider.h</code></p> |
|
</div> |
|
|
|
|
|
</div> |
|
</div> |
|
</div><div class="section-method"> |
|
<a name="//api/name/setAlarmClockCommandAlarms:callback:" title="setAlarmClockCommandAlarms:callback:"></a> |
|
<h3 class="method-title"><code><a href="#//api/name/setAlarmClockCommandAlarms:callback:">+ setAlarmClockCommandAlarms:callback:</a></code> |
|
</h3> |
|
|
|
<div class="method-info"> |
|
<div class="pointy-thing"></div> |
|
|
|
<div class="method-info-container"> |
|
|
|
|
|
<div class="method-subsection brief-description"> |
|
<p>设置闹钟 | Set the alarm clock</p> |
|
</div> |
|
|
|
|
|
|
|
<div class="method-subsection method-declaration"><code>+ (void)setAlarmClockCommandAlarms:(NSArray *)<em>alarms</em> callback:(void ( ^ _Nullable ) ( ECell_BLE_COMMAND_ERROR_TYPE errorType ))<em>callback</em></code></div> |
|
|
|
|
|
|
|
<div class="method-subsection arguments-section parameters"> |
|
<h4 class="method-subtitle parameter-title">Parameters</h4> |
|
<table class="argument-def parameter-def"> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>alarms</code></th> |
|
<td><p>闹钟模型数组(最多5个)| Alarm clock model array (up to 5) |
|
alarms: @[@{@“hour”: Int, @“min”: Int, @“cycle”: Int, @“label”: Int(0:闹钟 1:会议), @“isOpen”: BOOL}]</p></td> |
|
</tr> |
|
|
|
</table> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection discussion-section"> |
|
<h4 class="method-subtitle">Discussion</h4> |
|
<p>设置闹钟 | Set the alarm clock</p> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection declared-in-section"> |
|
<h4 class="method-subtitle">Declared In</h4> |
|
<p><code class="declared-in-ref">ECellCommandProvider.h</code></p> |
|
</div> |
|
|
|
|
|
</div> |
|
</div> |
|
</div><div class="section-method"> |
|
<a name="//api/name/setUnitCommandMeasure:temperature:callback:" title="setUnitCommandMeasure:temperature:callback:"></a> |
|
<h3 class="method-title"><code><a href="#//api/name/setUnitCommandMeasure:temperature:callback:">+ setUnitCommandMeasure:temperature:callback:</a></code> |
|
</h3> |
|
|
|
<div class="method-info"> |
|
<div class="pointy-thing"></div> |
|
|
|
<div class="method-info-container"> |
|
|
|
|
|
<div class="method-subsection brief-description"> |
|
<p>设置单位 | Set the unit</p> |
|
</div> |
|
|
|
|
|
|
|
<div class="method-subsection method-declaration"><code>+ (void)setUnitCommandMeasure:(NSInteger)<em>measure</em> temperature:(NSInteger)<em>temperature</em> callback:(void ( ^ _Nullable ) ( ECell_BLE_COMMAND_ERROR_TYPE errorType ))<em>callback</em></code></div> |
|
|
|
|
|
|
|
<div class="method-subsection arguments-section parameters"> |
|
<h4 class="method-subtitle parameter-title">Parameters</h4> |
|
<table class="argument-def parameter-def"> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>measure</code></th> |
|
<td><p>度量单位(0:公制 1:英制) | Unit of measure (0: metric 1: imperial)</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>temperature</code></th> |
|
<td><p>温度(0: 摄氏度 1:华氏摄氏度)| Temperature (0: Celsius 1: Fahrenheit)</p></td> |
|
</tr> |
|
|
|
</table> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection discussion-section"> |
|
<h4 class="method-subtitle">Discussion</h4> |
|
<p>设置单位 | Set the unit</p> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection declared-in-section"> |
|
<h4 class="method-subtitle">Declared In</h4> |
|
<p><code class="declared-in-ref">ECellCommandProvider.h</code></p> |
|
</div> |
|
|
|
|
|
</div> |
|
</div> |
|
</div><div class="section-method"> |
|
<a name="//api/name/setSportTargetCommandStep:sportMode:callback:" title="setSportTargetCommandStep:sportMode:callback:"></a> |
|
<h3 class="method-title"><code><a href="#//api/name/setSportTargetCommandStep:sportMode:callback:">+ setSportTargetCommandStep:sportMode:callback:</a></code> |
|
</h3> |
|
|
|
<div class="method-info"> |
|
<div class="pointy-thing"></div> |
|
|
|
<div class="method-info-container"> |
|
|
|
|
|
<div class="method-subsection brief-description"> |
|
<p>设置运动目标 | Set a moving target</p> |
|
</div> |
|
|
|
|
|
|
|
<div class="method-subsection method-declaration"><code>+ (void)setSportTargetCommandStep:(NSInteger)<em>step</em> sportMode:(NSInteger)<em>sportMode</em> callback:(void ( ^ _Nullable ) ( ECell_BLE_COMMAND_ERROR_TYPE errorType ))<em>callback</em></code></div> |
|
|
|
|
|
|
|
<div class="method-subsection arguments-section parameters"> |
|
<h4 class="method-subtitle parameter-title">Parameters</h4> |
|
<table class="argument-def parameter-def"> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>step</code></th> |
|
<td><p>步数 | step</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>sportMode</code></th> |
|
<td><p>0: 日常计步 1:走路 2: 跑步 3: 骑行 4: 爬山 | 0: daily step counting 1: walking 2: running 3: cycling 4: climbing</p></td> |
|
</tr> |
|
|
|
</table> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection discussion-section"> |
|
<h4 class="method-subtitle">Discussion</h4> |
|
<p>设置运动目标 | Set a moving target</p> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection declared-in-section"> |
|
<h4 class="method-subtitle">Declared In</h4> |
|
<p><code class="declared-in-ref">ECellCommandProvider.h</code></p> |
|
</div> |
|
|
|
|
|
</div> |
|
</div> |
|
</div><div class="section-method"> |
|
<a name="//api/name/setWeatherPushCommandLowTemperature:highTemperature:weatherType:currenTemperature:callback:" title="setWeatherPushCommandLowTemperature:highTemperature:weatherType:currenTemperature:callback:"></a> |
|
<h3 class="method-title"><code><a href="#//api/name/setWeatherPushCommandLowTemperature:highTemperature:weatherType:currenTemperature:callback:">+ setWeatherPushCommandLowTemperature:highTemperature:weatherType:currenTemperature:callback:</a></code> |
|
</h3> |
|
|
|
<div class="method-info"> |
|
<div class="pointy-thing"></div> |
|
|
|
<div class="method-info-container"> |
|
|
|
|
|
<div class="method-subsection brief-description"> |
|
<p>天气推送 | Set weather push</p> |
|
</div> |
|
|
|
|
|
|
|
<div class="method-subsection method-declaration"><code>+ (void)setWeatherPushCommandLowTemperature:(NSInteger)<em>lowTemperature</em> highTemperature:(NSInteger)<em>highTemperature</em> weatherType:(NSInteger)<em>weatherType</em> currenTemperature:(NSInteger)<em>currenTemperature</em> callback:(void ( ^ _Nullable ) ( ECell_BLE_COMMAND_ERROR_TYPE errorType ))<em>callback</em></code></div> |
|
|
|
|
|
|
|
<div class="method-subsection arguments-section parameters"> |
|
<h4 class="method-subtitle parameter-title">Parameters</h4> |
|
<table class="argument-def parameter-def"> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>lowTemperature</code></th> |
|
<td><p>低温 | low temperature</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>highTemperature</code></th> |
|
<td><p>高温 | hight temperature</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>weatherType</code></th> |
|
<td><p>天气类型(0:晴 1:阴 2:雨 3:雪) | weather type(0: fine 1: Yin 2: rain 3: snow)</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>currenTemperature</code></th> |
|
<td><p>当前温度 | curren temperature</p></td> |
|
</tr> |
|
|
|
</table> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection discussion-section"> |
|
<h4 class="method-subtitle">Discussion</h4> |
|
<p>天气推送 | Set weather push</p> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection declared-in-section"> |
|
<h4 class="method-subtitle">Declared In</h4> |
|
<p><code class="declared-in-ref">ECellCommandProvider.h</code></p> |
|
</div> |
|
|
|
|
|
</div> |
|
</div> |
|
</div><div class="section-method"> |
|
<a name="//api/name/setRemindModelCommandRemindType:callback:" title="setRemindModelCommandRemindType:callback:"></a> |
|
<h3 class="method-title"><code><a href="#//api/name/setRemindModelCommandRemindType:callback:">+ setRemindModelCommandRemindType:callback:</a></code> |
|
</h3> |
|
|
|
<div class="method-info"> |
|
<div class="pointy-thing"></div> |
|
|
|
<div class="method-info-container"> |
|
|
|
|
|
<div class="method-subsection brief-description"> |
|
<p>设置提醒模式</p> |
|
</div> |
|
|
|
|
|
|
|
<div class="method-subsection method-declaration"><code>+ (void)setRemindModelCommandRemindType:(NSInteger)<em>remindType</em> callback:(void ( ^ _Nullable ) ( ECell_BLE_COMMAND_ERROR_TYPE errorType ))<em>callback</em></code></div> |
|
|
|
|
|
|
|
<div class="method-subsection arguments-section parameters"> |
|
<h4 class="method-subtitle parameter-title">Parameters</h4> |
|
<table class="argument-def parameter-def"> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>remindType</code></th> |
|
<td><p>提醒方式 1:亮屏 2:震动 3:亮屏+震动 | Reminder 1: bright screen 2: vibration 3: bright screen + vibration</p></td> |
|
</tr> |
|
|
|
</table> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection discussion-section"> |
|
<h4 class="method-subtitle">Discussion</h4> |
|
<p>设置提醒模式</p> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection declared-in-section"> |
|
<h4 class="method-subtitle">Declared In</h4> |
|
<p><code class="declared-in-ref">ECellCommandProvider.h</code></p> |
|
</div> |
|
|
|
|
|
</div> |
|
</div> |
|
</div><div class="section-method"> |
|
<a name="//api/name/getFirmwareInfoCommand:" title="getFirmwareInfoCommand:"></a> |
|
<h3 class="method-title"><code><a href="#//api/name/getFirmwareInfoCommand:">+ getFirmwareInfoCommand:</a></code> |
|
</h3> |
|
|
|
<div class="method-info"> |
|
<div class="pointy-thing"></div> |
|
|
|
<div class="method-info-container"> |
|
|
|
|
|
<div class="method-subsection brief-description"> |
|
<p>获取固件版本信息 | Get firmware information</p> |
|
</div> |
|
|
|
|
|
|
|
<div class="method-subsection method-declaration"><code>+ (void)getFirmwareInfoCommand:(void ( ^ _Nullable ) ( ECell_BLE_COMMAND_ERROR_TYPE errorType , NSDictionary *_Nullable json ))<em>callback</em></code></div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection discussion-section"> |
|
<h4 class="method-subtitle">Discussion</h4> |
|
<p>获取固件版本信息 | Get firmware information</p> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection declared-in-section"> |
|
<h4 class="method-subtitle">Declared In</h4> |
|
<p><code class="declared-in-ref">ECellCommandProvider.h</code></p> |
|
</div> |
|
|
|
|
|
</div> |
|
</div> |
|
</div><div class="section-method"> |
|
<a name="//api/name/getBatteryCommand:" title="getBatteryCommand:"></a> |
|
<h3 class="method-title"><code><a href="#//api/name/getBatteryCommand:">+ getBatteryCommand:</a></code> |
|
</h3> |
|
|
|
<div class="method-info"> |
|
<div class="pointy-thing"></div> |
|
|
|
<div class="method-info-container"> |
|
|
|
|
|
<div class="method-subsection brief-description"> |
|
<p>获取电量 | Get attery</p> |
|
</div> |
|
|
|
|
|
|
|
<div class="method-subsection method-declaration"><code>+ (void)getBatteryCommand:(void ( ^ _Nullable ) ( ECell_BLE_COMMAND_ERROR_TYPE errorType , NSDictionary *_Nullable json ))<em>callback</em></code></div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection discussion-section"> |
|
<h4 class="method-subtitle">Discussion</h4> |
|
<p>获取电量 | Get attery</p> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection declared-in-section"> |
|
<h4 class="method-subtitle">Declared In</h4> |
|
<p><code class="declared-in-ref">ECellCommandProvider.h</code></p> |
|
</div> |
|
|
|
|
|
</div> |
|
</div> |
|
</div><div class="section-method"> |
|
<a name="//api/name/getProfileCommand:" title="getProfileCommand:"></a> |
|
<h3 class="method-title"><code><a href="#//api/name/getProfileCommand:">+ getProfileCommand:</a></code> |
|
</h3> |
|
|
|
<div class="method-info"> |
|
<div class="pointy-thing"></div> |
|
|
|
<div class="method-info-container"> |
|
|
|
|
|
<div class="method-subsection brief-description"> |
|
<p>获取配置信息 | Get configuration information</p> |
|
</div> |
|
|
|
|
|
|
|
<div class="method-subsection method-declaration"><code>+ (void)getProfileCommand:(void ( ^ _Nullable ) ( ECell_BLE_COMMAND_ERROR_TYPE errorType , NSDictionary *_Nullable json ))<em>callback</em></code></div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection discussion-section"> |
|
<h4 class="method-subtitle">Discussion</h4> |
|
<p>获取配置信息 | Get configuration information</p> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection declared-in-section"> |
|
<h4 class="method-subtitle">Declared In</h4> |
|
<p><code class="declared-in-ref">ECellCommandProvider.h</code></p> |
|
</div> |
|
|
|
|
|
</div> |
|
</div> |
|
</div><div class="section-method"> |
|
<a name="//api/name/getRealTimeDataCommandType:callback:" title="getRealTimeDataCommandType:callback:"></a> |
|
<h3 class="method-title"><code><a href="#//api/name/getRealTimeDataCommandType:callback:">+ getRealTimeDataCommandType:callback:</a></code> |
|
</h3> |
|
|
|
<div class="method-info"> |
|
<div class="pointy-thing"></div> |
|
|
|
<div class="method-info-container"> |
|
|
|
|
|
<div class="method-subsection brief-description"> |
|
<p>获取当前实时数据 | Get the current real-time data</p> |
|
</div> |
|
|
|
|
|
|
|
<div class="method-subsection method-declaration"><code>+ (void)getRealTimeDataCommandType:(NSInteger)<em>type</em> callback:(void ( ^ _Nullable ) ( ECell_BLE_COMMAND_ERROR_TYPE errorType , NSDictionary *_Nullable json ))<em>callback</em></code></div> |
|
|
|
|
|
|
|
<div class="method-subsection arguments-section parameters"> |
|
<h4 class="method-subtitle parameter-title">Parameters</h4> |
|
<table class="argument-def parameter-def"> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>type</code></th> |
|
<td><p>1:睡眠 2:心率 3:计步 4:运动模式 | 1: sleep 2: heart rate 3: count steps 4: exercise mode</p></td> |
|
</tr> |
|
|
|
</table> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection discussion-section"> |
|
<h4 class="method-subtitle">Discussion</h4> |
|
<p>获取当前实时数据 | Get the current real-time data</p> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection declared-in-section"> |
|
<h4 class="method-subtitle">Declared In</h4> |
|
<p><code class="declared-in-ref">ECellCommandProvider.h</code></p> |
|
</div> |
|
|
|
|
|
</div> |
|
</div> |
|
</div><div class="section-method"> |
|
<a name="//api/name/getHealthDataCommandType:year:month:day:callback:" title="getHealthDataCommandType:year:month:day:callback:"></a> |
|
<h3 class="method-title"><code><a href="#//api/name/getHealthDataCommandType:year:month:day:callback:">+ getHealthDataCommandType:year:month:day:callback:</a></code> |
|
</h3> |
|
|
|
<div class="method-info"> |
|
<div class="pointy-thing"></div> |
|
|
|
<div class="method-info-container"> |
|
|
|
|
|
<div class="method-subsection brief-description"> |
|
<p>获取指定日期健康数据 | Gets health data for the specified date</p> |
|
</div> |
|
|
|
|
|
|
|
<div class="method-subsection method-declaration"><code>+ (void)getHealthDataCommandType:(NSInteger)<em>type</em> year:(NSInteger)<em>year</em> month:(NSInteger)<em>month</em> day:(NSInteger)<em>day</em> callback:(void ( ^ _Nullable ) ( ECell_BLE_COMMAND_ERROR_TYPE errorType , NSDictionary *_Nullable json ))<em>callback</em></code></div> |
|
|
|
|
|
|
|
<div class="method-subsection arguments-section parameters"> |
|
<h4 class="method-subtitle parameter-title">Parameters</h4> |
|
<table class="argument-def parameter-def"> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>type</code></th> |
|
<td><p>1:睡眠,2:心率,3:计步,4:运动 5:血压 6:血氧 | 1: sleep, 2: heart rate, 3: step counting, 4: exercise 5: blood pressure 6: blood oxygen</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>year</code></th> |
|
<td><p>年</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>month</code></th> |
|
<td><p>月</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>day</code></th> |
|
<td><p>日 |
|
设备最多保存七天数据 | The device holds data for up to seven days</p></td> |
|
</tr> |
|
|
|
</table> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection discussion-section"> |
|
<h4 class="method-subtitle">Discussion</h4> |
|
<p>获取指定日期健康数据 | Gets health data for the specified date</p> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection declared-in-section"> |
|
<h4 class="method-subtitle">Declared In</h4> |
|
<p><code class="declared-in-ref">ECellCommandProvider.h</code></p> |
|
</div> |
|
|
|
|
|
</div> |
|
</div> |
|
</div><div class="section-method"> |
|
<a name="//api/name/findDeviceCommand:" title="findDeviceCommand:"></a> |
|
<h3 class="method-title"><code><a href="#//api/name/findDeviceCommand:">+ findDeviceCommand:</a></code> |
|
</h3> |
|
|
|
<div class="method-info"> |
|
<div class="pointy-thing"></div> |
|
|
|
<div class="method-info-container"> |
|
|
|
|
|
<div class="method-subsection brief-description"> |
|
<p>查找设备 | Find device</p> |
|
</div> |
|
|
|
|
|
|
|
<div class="method-subsection method-declaration"><code>+ (void)findDeviceCommand:(void ( ^ _Nullable ) ( ECell_BLE_COMMAND_ERROR_TYPE errorType ))<em>callback</em></code></div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection discussion-section"> |
|
<h4 class="method-subtitle">Discussion</h4> |
|
<p>查找设备 | Find device</p> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection declared-in-section"> |
|
<h4 class="method-subtitle">Declared In</h4> |
|
<p><code class="declared-in-ref">ECellCommandProvider.h</code></p> |
|
</div> |
|
|
|
|
|
</div> |
|
</div> |
|
</div><div class="section-method"> |
|
<a name="//api/name/gesturesControlCommandHand:raise:flip:callback:" title="gesturesControlCommandHand:raise:flip:callback:"></a> |
|
<h3 class="method-title"><code><a href="#//api/name/gesturesControlCommandHand:raise:flip:callback:">+ gesturesControlCommandHand:raise:flip:callback:</a></code> |
|
</h3> |
|
|
|
<div class="method-info"> |
|
<div class="pointy-thing"></div> |
|
|
|
<div class="method-info-container"> |
|
|
|
|
|
<div class="method-subsection brief-description"> |
|
<p>抬手亮屏 | Raised my hand against the bright screen</p> |
|
</div> |
|
|
|
|
|
|
|
<div class="method-subsection method-declaration"><code>+ (void)gesturesControlCommandHand:(NSInteger)<em>hand</em> raise:(NSInteger)<em>raise</em> flip:(NSInteger)<em>flip</em> callback:(void ( ^ _Nullable ) ( ECell_BLE_COMMAND_ERROR_TYPE errorType ))<em>callback</em></code></div> |
|
|
|
|
|
|
|
<div class="method-subsection arguments-section parameters"> |
|
<h4 class="method-subtitle parameter-title">Parameters</h4> |
|
<table class="argument-def parameter-def"> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>hand</code></th> |
|
<td><p>0:左手 1:右手 | 0: left hand 1: right hand</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>raise</code></th> |
|
<td><p>0:抬手亮屏关闭 1:抬手亮屏开启 | 0: turn off the bright screen 1: turn on the bright screen</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>flip</code></th> |
|
<td><p>0:翻腕亮屏关闭 1:翻腕亮屏开启 | 0: turn wrist bright screen off 1: turn wrist bright screen on</p></td> |
|
</tr> |
|
|
|
</table> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection discussion-section"> |
|
<h4 class="method-subtitle">Discussion</h4> |
|
<p>抬手亮屏 | Raised my hand against the bright screen</p> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection declared-in-section"> |
|
<h4 class="method-subtitle">Declared In</h4> |
|
<p><code class="declared-in-ref">ECellCommandProvider.h</code></p> |
|
</div> |
|
|
|
|
|
</div> |
|
</div> |
|
</div><div class="section-method"> |
|
<a name="//api/name/cameraControlCommandIsOpen:callback:" title="cameraControlCommandIsOpen:callback:"></a> |
|
<h3 class="method-title"><code><a href="#//api/name/cameraControlCommandIsOpen:callback:">+ cameraControlCommandIsOpen:callback:</a></code> |
|
</h3> |
|
|
|
<div class="method-info"> |
|
<div class="pointy-thing"></div> |
|
|
|
<div class="method-info-container"> |
|
|
|
|
|
<div class="method-subsection brief-description"> |
|
<p>远程拍照控制 | Remote camera control</p> |
|
</div> |
|
|
|
|
|
|
|
<div class="method-subsection method-declaration"><code>+ (void)cameraControlCommandIsOpen:(NSInteger)<em>isOpen</em> callback:(void ( ^ _Nullable ) ( ECell_BLE_COMMAND_ERROR_TYPE errorType ))<em>callback</em></code></div> |
|
|
|
|
|
|
|
<div class="method-subsection arguments-section parameters"> |
|
<h4 class="method-subtitle parameter-title">Parameters</h4> |
|
<table class="argument-def parameter-def"> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>isOpen</code></th> |
|
<td><p>0:相机已关闭 1:相机已打开 | 0: camera closed 1: camera on</p></td> |
|
</tr> |
|
|
|
</table> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection discussion-section"> |
|
<h4 class="method-subtitle">Discussion</h4> |
|
<p>远程拍照控制 | Remote camera control</p> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection declared-in-section"> |
|
<h4 class="method-subtitle">Declared In</h4> |
|
<p><code class="declared-in-ref">ECellCommandProvider.h</code></p> |
|
</div> |
|
|
|
|
|
</div> |
|
</div> |
|
</div><div class="section-method"> |
|
<a name="//api/name/listenDevceReportCommand:" title="listenDevceReportCommand:"></a> |
|
<h3 class="method-title"><code><a href="#//api/name/listenDevceReportCommand:">+ listenDevceReportCommand:</a></code> |
|
</h3> |
|
|
|
<div class="method-info"> |
|
<div class="pointy-thing"></div> |
|
|
|
<div class="method-info-container"> |
|
|
|
|
|
<div class="method-subsection brief-description"> |
|
<p>设备主动上报蓝牙数据 | The device actively reports bluetooth data</p> |
|
</div> |
|
|
|
|
|
|
|
<div class="method-subsection method-declaration"><code>+ (void)listenDevceReportCommand:(void ( ^ _Nullable ) ( ECell_BLE_REPORT_COMMAND reportCmd , NSDictionary *_Nullable json ))<em>callback</em></code></div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection discussion-section"> |
|
<h4 class="method-subtitle">Discussion</h4> |
|
<p>设备主动上报蓝牙数据 | The device actively reports bluetooth data</p> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection declared-in-section"> |
|
<h4 class="method-subtitle">Declared In</h4> |
|
<p><code class="declared-in-ref">ECellCommandProvider.h</code></p> |
|
</div> |
|
|
|
|
|
</div> |
|
</div> |
|
</div><div class="section-method"> |
|
<a name="//api/name/sendFlashDataCommandTotal:curren:lenght:data:callback:" title="sendFlashDataCommandTotal:curren:lenght:data:callback:"></a> |
|
<h3 class="method-title"><code><a href="#//api/name/sendFlashDataCommandTotal:curren:lenght:data:callback:">+ sendFlashDataCommandTotal:curren:lenght:data:callback:</a></code> |
|
</h3> |
|
|
|
<div class="method-info"> |
|
<div class="pointy-thing"></div> |
|
|
|
<div class="method-info-container"> |
|
|
|
|
|
<div class="method-subsection brief-description"> |
|
<p>FLASH数据发送命令 | FLASH data send command</p> |
|
</div> |
|
|
|
|
|
|
|
<div class="method-subsection method-declaration"><code>+ (void)sendFlashDataCommandTotal:(NSInteger)<em>total</em> curren:(NSInteger)<em>curren</em> lenght:(NSInteger)<em>lenght</em> data:(NSData *)<em>data</em> callback:(void ( ^ _Nullable ) ( ECell_BLE_COMMAND_ERROR_TYPE errorType ))<em>callback</em></code></div> |
|
|
|
|
|
|
|
<div class="method-subsection arguments-section parameters"> |
|
<h4 class="method-subtitle parameter-title">Parameters</h4> |
|
<table class="argument-def parameter-def"> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>total</code></th> |
|
<td><p>总包数</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>curren</code></th> |
|
<td><p>当前包序号</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>lenght</code></th> |
|
<td><p>数据长度</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>data</code></th> |
|
<td><p>数据</p></td> |
|
</tr> |
|
|
|
</table> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection discussion-section"> |
|
<h4 class="method-subtitle">Discussion</h4> |
|
<p>FLASH数据发送命令 | FLASH data send command</p> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection declared-in-section"> |
|
<h4 class="method-subtitle">Declared In</h4> |
|
<p><code class="declared-in-ref">ECellCommandProvider.h</code></p> |
|
</div> |
|
|
|
|
|
</div> |
|
</div> |
|
</div><div class="section-method"> |
|
<a name="//api/name/sendDialPushCommandNumber:type:fileLenght:callback:" title="sendDialPushCommandNumber:type:fileLenght:callback:"></a> |
|
<h3 class="method-title"><code><a href="#//api/name/sendDialPushCommandNumber:type:fileLenght:callback:">+ sendDialPushCommandNumber:type:fileLenght:callback:</a></code> |
|
</h3> |
|
|
|
<div class="method-info"> |
|
<div class="pointy-thing"></div> |
|
|
|
<div class="method-info-container"> |
|
|
|
|
|
<div class="method-subsection brief-description"> |
|
<p>表盘推送启动 | Dial push start</p> |
|
</div> |
|
|
|
|
|
|
|
<div class="method-subsection method-declaration"><code>+ (void)sendDialPushCommandNumber:(NSInteger)<em>number</em> type:(NSInteger)<em>type</em> fileLenght:(NSInteger)<em>fileLenght</em> callback:(void ( ^ _Nullable ) ( ECell_BLE_COMMAND_ERROR_TYPE errorType ))<em>callback</em></code></div> |
|
|
|
|
|
|
|
<div class="method-subsection arguments-section parameters"> |
|
<h4 class="method-subtitle parameter-title">Parameters</h4> |
|
<table class="argument-def parameter-def"> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>number</code></th> |
|
<td><p>第几个表盘 | number dial</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>type</code></th> |
|
<td><p>0:删除表盘 1:增加表盘 2:更新表盘 | 0: delete dial 1: add dial 2: update dial</p></td> |
|
</tr> |
|
|
|
<tr> |
|
<th scope="row" class="argument-name"><code>fileLenght</code></th> |
|
<td><p>文件大小 | The file lenght</p></td> |
|
</tr> |
|
|
|
</table> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection discussion-section"> |
|
<h4 class="method-subtitle">Discussion</h4> |
|
<p>表盘推送启动 | Dial push start</p> |
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection declared-in-section"> |
|
<h4 class="method-subtitle">Declared In</h4> |
|
<p><code class="declared-in-ref">ECellCommandProvider.h</code></p> |
|
</div> |
|
|
|
|
|
</div> |
|
</div> |
|
</div> |
|
</div> |
|
|
|
</main> |
|
|
|
<footer> |
|
<div class="footer-copyright"> |
|
|
|
<p class="copyright">Copyright © 2020 ECell. All rights reserved. Updated: 2020-06-17</p> |
|
|
|
|
|
<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p> |
|
|
|
</div> |
|
</footer> |
|
</div> |
|
</div> |
|
</article> |
|
|
|
<script src="../js/script.js"></script> |
|
</body> |
|
</html> |