Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
70248a5f
D
Docs
项目概览
OpenHarmony
/
Docs
大约 2 年 前同步成功
通知
161
Star
293
Fork
28
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
Docs
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
70248a5f
编写于
8月 14, 2023
作者:
O
openharmony_ci
提交者:
Gitee
8月 14, 2023
浏览文件
操作
浏览文件
下载
差异文件
!21478 add intelligent voice api reference
Merge pull request !21478 from lvqiang214/master
上级
2d2b459b
6c7be0e3
变更
4
展开全部
显示空白变更内容
内联
并排
Showing
4 changed file
with
1727 addition
and
0 deletion
+1727
-0
zh-cn/application-dev/reference/apis/Readme-CN.md
zh-cn/application-dev/reference/apis/Readme-CN.md
+1
-0
zh-cn/application-dev/reference/apis/js-apis-intelligentVoice.md
...pplication-dev/reference/apis/js-apis-intelligentVoice.md
+1643
-0
zh-cn/application-dev/reference/errorcodes/Readme-CN.md
zh-cn/application-dev/reference/errorcodes/Readme-CN.md
+2
-0
zh-cn/application-dev/reference/errorcodes/errorcode-intelligentVoice.md
...on-dev/reference/errorcodes/errorcode-intelligentVoice.md
+81
-0
未找到文件。
zh-cn/application-dev/reference/apis/Readme-CN.md
浏览文件 @
70248a5f
...
@@ -301,6 +301,7 @@
...
@@ -301,6 +301,7 @@
-
AI
-
AI
-
[
@ohos.ai.mindSporeLite (推理能力)
](
js-apis-mindSporeLite.md
)
-
[
@ohos.ai.mindSporeLite (推理能力)
](
js-apis-mindSporeLite.md
)
-
[
@ohos.ai.intelligentVoice (智能语音)
](
js-apis-intelligentVoice.md
)
-
电话服务
-
电话服务
-
[
@ohos.contact (联系人)
](
js-apis-contact.md
)
-
[
@ohos.contact (联系人)
](
js-apis-contact.md
)
...
...
zh-cn/application-dev/reference/apis/js-apis-intelligentVoice.md
0 → 100755
浏览文件 @
70248a5f
此差异已折叠。
点击以展开。
zh-cn/application-dev/reference/errorcodes/Readme-CN.md
浏览文件 @
70248a5f
...
@@ -5,6 +5,8 @@
...
@@ -5,6 +5,8 @@
-
[
元能力子系统错误码
](
errorcode-ability.md
)
-
[
元能力子系统错误码
](
errorcode-ability.md
)
-
[
DistributedSchedule错误码
](
errorcode-DistributedSchedule.md
)
-
[
DistributedSchedule错误码
](
errorcode-DistributedSchedule.md
)
-
[
卡片错误码
](
errorcode-form.md
)
-
[
卡片错误码
](
errorcode-form.md
)
-
AI业务
-
[
智能语音错误码
](
errorcode-intelligentVoice.md
)
-
包管理
-
包管理
-
[
包管理子系统通用错误码
](
errorcode-bundle.md
)
-
[
包管理子系统通用错误码
](
errorcode-bundle.md
)
-
[
zlib子系统错误码
](
errorcode-zlib.md
)
-
[
zlib子系统错误码
](
errorcode-zlib.md
)
...
...
zh-cn/application-dev/reference/errorcodes/errorcode-intelligentVoice.md
0 → 100755
浏览文件 @
70248a5f
# IntelligentVoice错误码
> **说明:**
>
> 以下仅介绍本模块特有错误码,通用错误码请参考[通用错误码说明文档](errorcode-universal.md)。
## 22700101 内存不足
**错误信息**
No memory.
**错误描述**
调用接口时,分配内存失败或者出现空指针。
**可能原因**
1.
系统内存压力大,没有足够的内存用来映射。
2.
对于失效的实例,没有及时销毁释放内存。
**处理步骤**
1.
停止当前操作,或者暂停其他的应用,以保证当前业务有可用内存。
2.
主动清空失效的实例,释放内存后再重新创建实例,仍然失败,则停止相关操作。
## 22700102 无效入参
**错误信息**
Input parameter value error.
**错误描述**
调用接口时,传入的参数无效。
**可能原因**
参数无效,比如值不在边界范围内,没有使用指定的枚举范围等。
**处理步骤**
根据接口文档,传入正确的入参。
## 22700103 初始化失败
**错误信息**
Init failed.
**错误描述**
调用引擎的初始化接口时,返回初始化失败。
**可能原因**
1.
重复初始化。
2.
没有注册初始化所需要的资源。
**处理步骤**
1.
不要重复初始化。
2.
确认注册初始化需要的资源(声学模型文件等)已经完备。
## 22700104 确认注册结果失败
**错误信息**
Commit enroll failed.
**错误描述**
调用注册引擎的确认注册结果接口
[
commit()
](
../apis/js-apis-intelligentVoice.md#commit
)
时,返回失败。
**可能原因**
没有完成指定次数的注册流程。
**处理步骤**
根据界面上要求的注册次数注册完成后再确认注册结果。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录