SDK初始化
<p><strong>简要描述:</strong> </p>
<ul>
<li>SDK初始化接口,调用SDK接口前必须调用此接口完成SDK初始化</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>int nvInitAsync(const char *sdkRootDir, const int type, const int platform);</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>
</li>
</ul>
<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;">sdkRootDir</td>
<td style="text-align: left;">必选</td>
<td style="text-align: left;">string</td>
<td>存放SDK日志、数据库的路径</td>
</tr>
<tr>
<td style="text-align: left;">type</td>
<td style="text-align: left;">必选</td>
<td style="text-align: left;">int</td>
<td>调用方来源是第三方还是Nova<br><code>1</code>nova自己的平台<br><code>0</code>第三方平台</td>
</tr>
<tr>
<td style="text-align: left;">platform</td>
<td style="text-align: left;">必选</td>
<td style="text-align: left;">int</td>
<td><code>1:</code>移动终端发来的(如手机)<br><code>2:</code>表示传统电脑<br><code>3:</code>表示平板<br><code>4:</code>表示vnnox端发来的<br><code>5:</code>来自iCare</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>""</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>初始化成功<br><code>65286</code>日志初始化失败<br><code>65287</code>数据库初始化失败</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>
</li>
</ul>