ViplexCore

ViplexCore SDK


设置飞行模式开关状态

<p><strong>简要描述:</strong> </p> <ul> <li>设置飞行模式开关状态</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>void nvSetFlightModeAsync(const char *data, ExportViplexCallback callback)</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li> <p><strong>请求参数示例</strong></p> </li> </ul> <pre><code>{ "sn":"BZSA07194A0049999716", "enable":true }</code></pre> <p><strong>参数:</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">是否必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">sn</td> <td style="text-align: left;">必选</td> <td style="text-align: left;">string</td> <td>产品唯一序列号</td> </tr> <tr> <td style="text-align: left;">enable</td> <td style="text-align: left;">必选</td> <td style="text-align: left;">bool</td> <td>设置飞行模式开关状态</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ "errorDiscription":"the description that describe the error in detail." }</code></pre> <p><strong>返回参数说明</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">code</td> <td style="text-align: left;">int</td> <td>错误码:<code>0</code>获取成功<code>65535</code>请求超时</td> </tr> <tr> <td style="text-align: left;">data</td> <td style="text-align: left;">object</td> <td>返回失败的data参数</td> </tr> </tbody> </table> <p><strong>备注</strong> </p> <ul> <li> </li> </ul>

页面列表

ITEM_HTML