退出登录
<p><strong>简要描述:</strong> </p>
<ul>
<li>注意:退出登录后,返回成功或失败,login接口的长连接自动失效,不会再返回数据</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>void nvLogoutAsync(const char *data, ExportViplexCallback resultCallBack);</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>
<p><strong>请求参数示例</strong></p>
</li>
</ul>
<pre><code>{
"sn":"BZSA17332J0A20002272",
"loginType":0
}</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;">loginType</td>
<td style="text-align: left;">必选</td>
<td style="text-align: left;">int</td>
<td><code>0:</code>断开屏体管理<br><code>1:</code>断开系统设置(暗门)<br><code>2:</code>断开诊断模块<br><code>3:</code>断开LCT登录</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>disconnetSuccess</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>错误码:<br><code>0</code>退出成功</td>
</tr>
<tr>
<td style="text-align: left;">data</td>
<td style="text-align: left;">string</td>
<td>错误码描述,不用关注</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>
</li>
</ul>