Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
6caf0f7c
D
Docs
项目概览
OpenHarmony
/
Docs
大约 1 年 前同步成功
通知
159
Star
292
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看板
提交
6caf0f7c
编写于
7月 18, 2022
作者:
D
duangavin123
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
HDI api
Signed-off-by:
N
duangavin123
<
duanxichao@huawei.com
>
上级
ed6d9012
变更
30
展开全部
隐藏空白更改
内联
并排
Showing
30 changed file
with
208 addition
and
209 deletion
+208
-209
zh-cn/device-dev/api/_audio.md
zh-cn/device-dev/api/_audio.md
+15
-15
zh-cn/device-dev/api/_camera.md
zh-cn/device-dev/api/_camera.md
+13
-13
zh-cn/device-dev/api/_codec.md
zh-cn/device-dev/api/_codec.md
+12
-12
zh-cn/device-dev/api/_display.md
zh-cn/device-dev/api/_display.md
+21
-21
zh-cn/device-dev/api/_face_auth_types_8idl.md
zh-cn/device-dev/api/_face_auth_types_8idl.md
+6
-6
zh-cn/device-dev/api/_hdf_face_auth.md
zh-cn/device-dev/api/_hdf_face_auth.md
+6
-6
zh-cn/device-dev/api/_hdf_pin_auth.md
zh-cn/device-dev/api/_hdf_pin_auth.md
+4
-4
zh-cn/device-dev/api/_hdf_user_auth.md
zh-cn/device-dev/api/_hdf_user_auth.md
+3
-3
zh-cn/device-dev/api/_input.md
zh-cn/device-dev/api/_input.md
+5
-5
zh-cn/device-dev/api/_light.md
zh-cn/device-dev/api/_light.md
+4
-4
zh-cn/device-dev/api/_pin_auth_types_8idl.md
zh-cn/device-dev/api/_pin_auth_types_8idl.md
+4
-5
zh-cn/device-dev/api/_power_types_8idl.md
zh-cn/device-dev/api/_power_types_8idl.md
+4
-4
zh-cn/device-dev/api/_sensor.md
zh-cn/device-dev/api/_sensor.md
+7
-7
zh-cn/device-dev/api/_types_8idl.md
zh-cn/device-dev/api/_types_8idl.md
+4
-4
zh-cn/device-dev/api/_u_s_b.md
zh-cn/device-dev/api/_u_s_b.md
+3
-3
zh-cn/device-dev/api/_user_auth_types_8idl.md
zh-cn/device-dev/api/_user_auth_types_8idl.md
+3
-3
zh-cn/device-dev/api/_vibrator.md
zh-cn/device-dev/api/_vibrator.md
+4
-4
zh-cn/device-dev/api/_w_l_a_n.md
zh-cn/device-dev/api/_w_l_a_n.md
+1
-1
zh-cn/device-dev/api/audio__types_8h.md
zh-cn/device-dev/api/audio__types_8h.md
+15
-15
zh-cn/device-dev/api/battery.md
zh-cn/device-dev/api/battery.md
+4
-4
zh-cn/device-dev/api/codec__common__type_8h.md
zh-cn/device-dev/api/codec__common__type_8h.md
+6
-6
zh-cn/device-dev/api/codec__component__type_8h.md
zh-cn/device-dev/api/codec__component__type_8h.md
+7
-7
zh-cn/device-dev/api/display__type_8h.md
zh-cn/device-dev/api/display__type_8h.md
+21
-21
zh-cn/device-dev/api/input__type_8h.md
zh-cn/device-dev/api/input__type_8h.md
+5
-5
zh-cn/device-dev/api/power.md
zh-cn/device-dev/api/power.md
+4
-4
zh-cn/device-dev/api/sensor__type_8h.md
zh-cn/device-dev/api/sensor__type_8h.md
+7
-7
zh-cn/device-dev/api/types_8h.md
zh-cn/device-dev/api/types_8h.md
+12
-12
zh-cn/device-dev/api/usbd__type_8h.md
zh-cn/device-dev/api/usbd__type_8h.md
+3
-3
zh-cn/device-dev/api/vibrator__type_8h.md
zh-cn/device-dev/api/vibrator__type_8h.md
+4
-4
zh-cn/device-dev/api/wifi__hal__base__feature_8h.md
zh-cn/device-dev/api/wifi__hal__base__feature_8h.md
+1
-1
未找到文件。
zh-cn/device-dev/api/_audio.md
浏览文件 @
6caf0f7c
此差异已折叠。
点击以展开。
zh-cn/device-dev/api/_camera.md
浏览文件 @
6caf0f7c
...
...
@@ -47,19 +47,19 @@
### 枚举
| 枚举 | 描述 |
| 枚举
名称
| 描述 |
| -------- | -------- |
|
[
OHOS::Camera::CamRetCode
](
#camretcode
)
:
int32_t
{
[ERROR:Invalid
link:zh-cn_topic_0000001348293917.xml#xref1850988613083931,link:zh-cn_topic_0000001348293917.xml#gga9ecee2f0e6599644dc440c9e1c553b80aac4124a539038c0eb9752f19bd41db9a](#gga9ecee2f0e6599644dc440c9e1c553b80aac4124a539038c0eb9752f19bd41db9a)
=
0,
[ERROR:Invalid
link:zh-cn_topic_0000001348293917.xml#xref571563113083931,link:zh-cn_topic_0000001348293917.xml#gga9ecee2f0e6599644dc440c9e1c553b80a6d812337e14eb19f8afb2e70f3aad1a0](#gga9ecee2f0e6599644dc440c9e1c553b80a6d812337e14eb19f8afb2e70f3aad1a0)
=
-1,
[ERROR:Invalid
link:zh-cn_topic_0000001348293917.xml#xref1849826001083931,link:zh-cn_topic_0000001348293917.xml#gga9ecee2f0e6599644dc440c9e1c553b80a7250a9e68d64f0804d92f99e8cbc1e7e](#gga9ecee2f0e6599644dc440c9e1c553b80a7250a9e68d64f0804d92f99e8cbc1e7e)
=
-2,
[ERROR:Invalid
link:zh-cn_topic_0000001348293917.xml#xref291745369083931,link:zh-cn_topic_0000001348293917.xml#gga9ecee2f0e6599644dc440c9e1c553b80a9cfb72153a13ecf08abb34d59bec2223](#gga9ecee2f0e6599644dc440c9e1c553b80a9cfb72153a13ecf08abb34d59bec2223)
=
-3,
[ERROR:Invalid
link:zh-cn_topic_0000001348293917.xml#xref1135011021083931,link:zh-cn_topic_0000001348293917.xml#gga9ecee2f0e6599644dc440c9e1c553b80ae66837f5eefe837cf5777083e1aaadcc](#gga9ecee2f0e6599644dc440c9e1c553b80ae66837f5eefe837cf5777083e1aaadcc)
=
-4,
[ERROR:Invalid
link:zh-cn_topic_0000001348293917.xml#xref1556125922083931,link:zh-cn_topic_0000001348293917.xml#gga9ecee2f0e6599644dc440c9e1c553b80a0322e66dfb3b398ead3bd50c823415cd](#gga9ecee2f0e6599644dc440c9e1c553b80a0322e66dfb3b398ead3bd50c823415cd)
=
-5,
[ERROR:Invalid
link:zh-cn_topic_0000001348293917.xml#xref1550105245083931,link:zh-cn_topic_0000001348293917.xml#gga9ecee2f0e6599644dc440c9e1c553b80a2b74d8a616b4360eec8826d9810c03c0](#gga9ecee2f0e6599644dc440c9e1c553b80a2b74d8a616b4360eec8826d9810c03c0)
=
-6
} | HDI接口的返回值。
[
更多...
](
#camretcode
)
|
|
[
OHOS::Camera::ResultCallbackMode
](
#resultcallbackmode
)
:
int32_t
{
[ERROR:Invalid
link:zh-cn_topic_0000001348293917.xml#xref1226878426083931,link:zh-cn_topic_0000001348293917.xml#gga0290782009631708fe5351c54f019353a25a4a7cc14577e328d08dd1a758f784c](#gga0290782009631708fe5351c54f019353a25a4a7cc14577e328d08dd1a758f784c),
[ERROR:Invalid
link:zh-cn_topic_0000001348293917.xml#xref460002598083931,link:zh-cn_topic_0000001348293917.xml#gga0290782009631708fe5351c54f019353ab84abaca84197e5e75dc1210519ea37c](#gga0290782009631708fe5351c54f019353ab84abaca84197e5e75dc1210519ea37c)
} | metadata的上报模式。
[
更多...
](
#resultcallbackmode
)
|
|
[
OHOS::Camera::OperationMode
](
#operationmode
)
:
int32_t
{
[ERROR:Invalid
link:zh-cn_topic_0000001348293917.xml#xref1051962412083931,link:zh-cn_topic_0000001348293917.xml#ggac397708a7aefbcf48c8a32b8af367ffda66a457d6883b55722bda11ac9a47e4dd](#ggac397708a7aefbcf48c8a32b8af367ffda66a457d6883b55722bda11ac9a47e4dd)
=
0
} | 流的使用模式。
[
更多...
](
#operationmode
)
|
|
[
OHOS::Camera::StreamIntent
](
#streamintent
)
:
int32_t
{
[ERROR:Invalid
link:zh-cn_topic_0000001348293917.xml#xref1306449757083931,link:zh-cn_topic_0000001348293917.xml#gga2b195a400dc0113b8185900ddc231c19a2ec888585737101c7bc133d302e4ce0a](#gga2b195a400dc0113b8185900ddc231c19a2ec888585737101c7bc133d302e4ce0a)
=
0,
[ERROR:Invalid
link:zh-cn_topic_0000001348293917.xml#xref992295979083931,link:zh-cn_topic_0000001348293917.xml#gga2b195a400dc0113b8185900ddc231c19ad480442d11e56ef84ac7018df5637b6a](#gga2b195a400dc0113b8185900ddc231c19ad480442d11e56ef84ac7018df5637b6a)
=
1,
[ERROR:Invalid
link:zh-cn_topic_0000001348293917.xml#xref1450183959083931,link:zh-cn_topic_0000001348293917.xml#gga2b195a400dc0113b8185900ddc231c19a5898656f053185f8a374bc35cbd4d784](#gga2b195a400dc0113b8185900ddc231c19a5898656f053185f8a374bc35cbd4d784)
=
2,
[ERROR:Invalid
link:zh-cn_topic_0000001348293917.xml#xref1077440175083931,link:zh-cn_topic_0000001348293917.xml#gga2b195a400dc0113b8185900ddc231c19a67891a15f68cdc23c2b1bb6fdfe2d72f](#gga2b195a400dc0113b8185900ddc231c19a67891a15f68cdc23c2b1bb6fdfe2d72f)
=
3,
[ERROR:Invalid
link:zh-cn_topic_0000001348293917.xml#xref101962597083931,link:zh-cn_topic_0000001348293917.xml#gga2b195a400dc0113b8185900ddc231c19a817268e94893ff41b8a03147dfbbc94b](#gga2b195a400dc0113b8185900ddc231c19a817268e94893ff41b8a03147dfbbc94b)
=
4,
[ERROR:Invalid
link:zh-cn_topic_0000001348293917.xml#xref685898295083931,link:zh-cn_topic_0000001348293917.xml#gga2b195a400dc0113b8185900ddc231c19a4ca8b162608a384d4335d04a56ac3e72](#gga2b195a400dc0113b8185900ddc231c19a4ca8b162608a384d4335d04a56ac3e72)
=
5
} | 流的类型。
[
更多...
](
#streamintent
)
|
|
[
OHOS::Camera::EncodeType
](
#encodetype
)
:
int32_t
{
[ERROR:Invalid
link:zh-cn_topic_0000001348293917.xml#xref859827503083931,link:zh-cn_topic_0000001348293917.xml#gga57d3c5974b8119b90f6f43592bd4b1d1af72ea69717272db8b03c0d2281c2f221](#gga57d3c5974b8119b90f6f43592bd4b1d1af72ea69717272db8b03c0d2281c2f221)
=
0,
[ERROR:Invalid
link:zh-cn_topic_0000001348293917.xml#xref1499327670083931,link:zh-cn_topic_0000001348293917.xml#gga57d3c5974b8119b90f6f43592bd4b1d1a6d21ce4760d97641e66c9a6a58df6105](#gga57d3c5974b8119b90f6f43592bd4b1d1a6d21ce4760d97641e66c9a6a58df6105)
=
1,
[ERROR:Invalid
link:zh-cn_topic_0000001348293917.xml#xref610982733083931,link:zh-cn_topic_0000001348293917.xml#gga57d3c5974b8119b90f6f43592bd4b1d1a60e25172afdb6ca5f18db408485c1cdf](#gga57d3c5974b8119b90f6f43592bd4b1d1a60e25172afdb6ca5f18db408485c1cdf)
=
2,
[ERROR:Invalid
link:zh-cn_topic_0000001348293917.xml#xref1698357165083931,link:zh-cn_topic_0000001348293917.xml#gga57d3c5974b8119b90f6f43592bd4b1d1a1cf15a45d92fa0eae74c778f09d4bae7](#gga57d3c5974b8119b90f6f43592bd4b1d1a1cf15a45d92fa0eae74c778f09d4bae7)
=
3
} | 流数据的编码类型。
[
更多...
](
#encodetype
)
|
|
[
OHOS::Camera::StreamSupportType
](
#streamsupporttype
)
:
int32_t
{
[ERROR:Invalid
link:zh-cn_topic_0000001348293917.xml#xref459418693083931,link:zh-cn_topic_0000001348293917.xml#gga2de5b91b51f744902c071f89d9302d56a96466427b9427c04c0a9f9a74e21b222](#gga2de5b91b51f744902c071f89d9302d56a96466427b9427c04c0a9f9a74e21b222),
[ERROR:Invalid
link:zh-cn_topic_0000001348293917.xml#xref645113807083931,link:zh-cn_topic_0000001348293917.xml#gga2de5b91b51f744902c071f89d9302d56afb9ebd5b0f7137f06e0b636247e7419e](#gga2de5b91b51f744902c071f89d9302d56afb9ebd5b0f7137f06e0b636247e7419e),
[ERROR:Invalid
link:zh-cn_topic_0000001348293917.xml#xref783121376083931,link:zh-cn_topic_0000001348293917.xml#gga2de5b91b51f744902c071f89d9302d56a5e0d17d563241a98d968bbdb5facf05e](#gga2de5b91b51f744902c071f89d9302d56a5e0d17d563241a98d968bbdb5facf05e)
} | 动态配置流的切换方式,使用场景参考
[IsStreamsSupported](#isstreamssupported)
。
[
更多...
](
#streamsupporttype
)
|
|
[
OHOS::Camera::CameraStatus
](
#camerastatus
)
{
[ERROR:Invalid
link:zh-cn_topic_0000001348293917.xml#xref183254253083931,link:zh-cn_topic_0000001348293917.xml#ggac2c065c30743f0053f460a6683845dadaefabd193aca6ec50ad022c4003b079bd](#ggac2c065c30743f0053f460a6683845dadaefabd193aca6ec50ad022c4003b079bd)
=
0,
[ERROR:Invalid
link:zh-cn_topic_0000001348293917.xml#xref2094706049083931,link:zh-cn_topic_0000001348293917.xml#ggac2c065c30743f0053f460a6683845dada41bd9156c9456c38aa47cf0b8b2486a2](#ggac2c065c30743f0053f460a6683845dada41bd9156c9456c38aa47cf0b8b2486a2)
=
1
} | Camera设备状态。
[
更多...
](
#camerastatus
)
|
|
[
OHOS::Camera::FlashlightStatus
](
#flashlightstatus
)
:
uint32_t
{
[ERROR:Invalid
link:zh-cn_topic_0000001348293917.xml#xref1498042712083931,link:zh-cn_topic_0000001348293917.xml#gga1a82bc94cb6ff38f7fd0dfcffab71df3a624df2112053caa6316c6ee443758d1a](#gga1a82bc94cb6ff38f7fd0dfcffab71df3a624df2112053caa6316c6ee443758d1a)
=
0,
[ERROR:Invalid
link:zh-cn_topic_0000001348293917.xml#xref2115915477083931,link:zh-cn_topic_0000001348293917.xml#gga1a82bc94cb6ff38f7fd0dfcffab71df3a9f360d5fdf77e2f7c1c123f3ba45bc0c](#gga1a82bc94cb6ff38f7fd0dfcffab71df3a9f360d5fdf77e2f7c1c123f3ba45bc0c)
=
1,
[ERROR:Invalid
link:zh-cn_topic_0000001348293917.xml#xref2110333559083931,link:zh-cn_topic_0000001348293917.xml#gga1a82bc94cb6ff38f7fd0dfcffab71df3a7fae7a9c7a791d240f3b6f6399988e8c](#gga1a82bc94cb6ff38f7fd0dfcffab71df3a7fae7a9c7a791d240f3b6f6399988e8c)
=
2
} | 闪光灯状态。
[
更多...
](
#flashlightstatus
)
|
|
[
OHOS::Camera::CameraEvent
](
#cameraevent
)
:
uint32_t
{
[ERROR:Invalid
link:zh-cn_topic_0000001348293917.xml#xref660282900083931,link:zh-cn_topic_0000001348293917.xml#gga14253812c3a39d52d827589bf5e5b970a85028d1dd16bef4b3f60e9543f2c89d8](#gga14253812c3a39d52d827589bf5e5b970a85028d1dd16bef4b3f60e9543f2c89d8)
=
0,
[ERROR:Invalid
link:zh-cn_topic_0000001348293917.xml#xref99073138083931,link:zh-cn_topic_0000001348293917.xml#gga14253812c3a39d52d827589bf5e5b970a715b664103cdf584fb48ed5e7c591c06](#gga14253812c3a39d52d827589bf5e5b970a715b664103cdf584fb48ed5e7c591c06)
=
1
} | Camera事件。
[
更多...
](
#cameraevent
)
|
|
[
OHOS::Camera::ErrorType
](
#errortype
)
:
uint32_t
{
[ERROR:Invalid
link:zh-cn_topic_0000001348293917.xml#xref729496342083931,link:zh-cn_topic_0000001348293917.xml#gga4d1b650185695d9df8652593a7bc522dad0dde9e602d14d5b583be24c5014f998](#gga4d1b650185695d9df8652593a7bc522dad0dde9e602d14d5b583be24c5014f998)
=
0,
[ERROR:Invalid
link:zh-cn_topic_0000001348293917.xml#xref1208893271083931,link:zh-cn_topic_0000001348293917.xml#gga4d1b650185695d9df8652593a7bc522da2b8e229bcb457de66e7b2882502a4df6](#gga4d1b650185695d9df8652593a7bc522da2b8e229bcb457de66e7b2882502a4df6)
=
1
} | 设备错误类型,用于设备错误回调
[OnError](#onerror)。
[
更多...
](
#errortype
)
|
|
[
OHOS::Camera::StreamError
](
#streamerror
)
{
[ERROR:Invalid
link:zh-cn_topic_0000001348293917.xml#xref1631822168083931,link:zh-cn_topic_0000001348293917.xml#gga376e6d566c73ec98e29b7dd93763aee6ae724e09ec34e66e49c86734ceffa2a26](#gga376e6d566c73ec98e29b7dd93763aee6ae724e09ec34e66e49c86734ceffa2a26)
=
0,
[ERROR:Invalid
link:zh-cn_topic_0000001348293917.xml#xref960469187083931,link:zh-cn_topic_0000001348293917.xml#gga376e6d566c73ec98e29b7dd93763aee6a9300ec08f81b121b74ec589fca815952](#gga376e6d566c73ec98e29b7dd93763aee6a9300ec08f81b121b74ec589fca815952)
=
1
} | 流错误类型,用于流错误类型
[CaptureErrorInfo](_o_h_o_s_1_1_camera_1_1_capture_error_info.md)。
[
更多...
](
#streamerror
)
|
|
[
OHOS::Camera::CamRetCode
](
#camretcode
)
:
int32_t
{
OHOS::Camera::NO_ERROR
=
0,
OHOS::Camera::CAMERA_BUSY
=
-1,
OHOS::Camera::INSUFFICIENT_RESOURCES
=
-2,
OHOS::Camera::INVALID_ARGUMENT
=
-3,
OHOS::Camera::METHOD_NOT_SUPPORTED
=
-4,
OHOS::Camera::CAMERA_CLOSED
=
-5,
OHOS::Camera::DEVICE_ERROR
=
-6
} | HDI接口的返回值。
[
更多...
](
#camretcode
)
|
|
[
OHOS::Camera::ResultCallbackMode
](
#resultcallbackmode
)
:
int32_t
{
OHOS::Camera::PER_FRAME,
OHOS::Camera::ON_CHANGED
} | metadata的上报模式。
[
更多...
](
#resultcallbackmode
)
|
|
[
OHOS::Camera::OperationMode
](
#operationmode
)
:
int32_t
{
OHOS::Camera::NORMAL
=
0
} | 流的使用模式。
[
更多...
](
#operationmode
)
|
|
[
OHOS::Camera::StreamIntent
](
#streamintent
)
:
int32_t
{
OHOS::Camera::PREVIEW
=
0,
OHOS::Camera::VIDEO
=
1,
OHOS::Camera::STILL_CAPTURE
=
2,
OHOS::Camera::POST_VIEW
=
3,
OHOS::Camera::ANALYZE
=
4,
OHOS::Camera::CUSTOM
=
5
} | 流的类型。
[
更多...
](
#streamintent
)
|
|
[
OHOS::Camera::EncodeType
](
#encodetype
)
:
int32_t
{
OHOS::Camera::ENCODE_TYPE_NULL
=
0,
OHOS::Camera::ENCODE_TYPE_H264
=
1,
OHOS::Camera::ENCODE_TYPE_H265
=
2,
OHOS::Camera::ENCODE_TYPE_JPEG
=
3
} | 流数据的编码类型。
[
更多...
](
#encodetype
)
|
|
[
OHOS::Camera::StreamSupportType
](
#streamsupporttype
)
:
int32_t
{
OHOS::Camera::DYNAMIC_SUPPORTED,
OHOS::Camera::RE_CONFIGURED_REQUIRED,
OHOS::Camera::NOT_SUPPORTED
} | 动态配置流的切换方式,使用场景参考
[IsStreamsSupported](#isstreamssupported)
。
[
更多...
](
#streamsupporttype
)
|
|
[
OHOS::Camera::CameraStatus
](
#camerastatus
)
{
OHOS::Camera::UN_AVAILABLE
=
0,
OHOS::Camera::AVAILABLE
=
1
} | Camera设备状态。
[
更多...
](
#camerastatus
)
|
|
[
OHOS::Camera::FlashlightStatus
](
#flashlightstatus
)
:
uint32_t
{
OHOS::Camera::FLASHLIGHT_OFF
=
0,
OHOS::Camera::FLASHLIGHT_ON
=
1,
OHOS::Camera::FLASHLIGHT_UNAVAILABLE
=
2
} | 闪光灯状态。
[
更多...
](
#flashlightstatus
)
|
|
[
OHOS::Camera::CameraEvent
](
#cameraevent
)
:
uint32_t
{
OHOS::Camera::CAMERA_EVENT_DEVICE_ADD
=
0,
OHOS::Camera::CAMERA_EVENT_DEVICE_RMV
=
1
} | Camera事件。
[
更多...
](
#cameraevent
)
|
|
[
OHOS::Camera::ErrorType
](
#errortype
)
:
uint32_t
{
OHOS::Camera::FATAL_ERROR
=
0,
OHOS::Camera::REQUEST_TIMEOUT
=
1
} | 设备错误类型,用于设备错误回调
[OnError](#onerror)。
[
更多...
](
#errortype
)
|
|
[
OHOS::Camera::StreamError
](
#streamerror
)
{
OHOS::Camera::UNKNOWN_ERROR
=
0,
OHOS::Camera::BUFFER_LOST
=
1
} | 流错误类型,用于流错误类型
[CaptureErrorInfo](_o_h_o_s_1_1_camera_1_1_capture_error_info.md)。
[
更多...
](
#streamerror
)
|
### 函数
...
...
@@ -225,7 +225,7 @@ enum OHOS::Camera::EncodeType : int32_t
| 枚举值 |
**描述**
|
| -------- | -------- |
| ENCODE_TYPE_NULL | 未设置编码类型 |
| ENCODE_TYPE_NULL | 未设置编码类型
。
|
| ENCODE_TYPE_H264 | 编码类型为H264。 |
| ENCODE_TYPE_H265 | 编码类型为H265。 |
| ENCODE_TYPE_JPEG | 编码类型为JPEG。 |
...
...
zh-cn/device-dev/api/_codec.md
浏览文件 @
6caf0f7c
此差异已折叠。
点击以展开。
zh-cn/device-dev/api/_display.md
浏览文件 @
6caf0f7c
此差异已折叠。
点击以展开。
zh-cn/device-dev/api/_face_auth_types_8idl.md
浏览文件 @
6caf0f7c
...
...
@@ -21,13 +21,13 @@
### 枚举
| 枚举 | 描述 |
| 枚举
名称
| 描述 |
| -------- | -------- |
|
[
AuthType
](
_hdf_face_auth.md#authtype
)
:
int
{
[PIN](_hdf_user_auth.md#gga89fed1f0b2adadc0ab678c1c6b9570a1a048efb7462d3f8cced82716c66926168)
=
1,
[FACE](_hdf_user_auth.md#gga89fed1f0b2adadc0ab678c1c6b9570a1a5cfae78048cf95359061c2e812e7d691)
=
2,
[FINGERPRINT](_hdf_user_auth.md#gga89fed1f0b2adadc0ab678c1c6b9570a1ad03eae85b35bf9bc22d787c8913b795a)
=
4
} | 枚举用户认证凭据类型。
[
更多...
](
_hdf_face_auth.md#authtype
)
|
|
[
ExecutorRole
](
_hdf_face_auth.md#executorrole
)
:
int
{
[COLLECTOR](_hdf_user_auth.md#ggaef26ea73ebd494278e243c53b41ea7e5a539c54e76bcc96cddb85f0cabcff39ec)
=
1,
[VERIFIER](_hdf_user_auth.md#ggaef26ea73ebd494278e243c53b41ea7e5a1286a5d974d0c68d7bc43ffc0576a6d4)
=
2,
[ALL_IN_ONE](_hdf_user_auth.md#ggaef26ea73ebd494278e243c53b41ea7e5a7eebd77a403f81c5968b4c2898ee6fd4)
=
3
} | 枚举执行器角色。
[
更多...
](
_hdf_face_auth.md#executorrole
)
|
|
[
ExecutorSecureLevel
](
_hdf_face_auth.md#executorsecurelevel
)
:
int
{
[ESL0](_hdf_user_auth.md#gga955c57d8720719916dd806106356fa0fa0cd05a2adda94d3c676fca84f96c0638)
=
0,
[ESL1](_hdf_user_auth.md#gga955c57d8720719916dd806106356fa0fae6a34bbf2764541238bf81569faf29d3)
=
1,
[ESL2](_hdf_user_auth.md#gga955c57d8720719916dd806106356fa0fa8f898bca57625d548a011ba2aaf4285f)
=
2,
[ESL3](_hdf_user_auth.md#gga955c57d8720719916dd806106356fa0fa9a6fb8a4530b6a09dba2fbfdf2e6c2e9)
=
3
} | 枚举执行器安全等级。
[
更多...
](
_hdf_face_auth.md#executorsecurelevel
)
|
|
[
CommandId
](
_hdf_face_auth.md#commandid
)
:
int
{
[LOCK_TEMPLATE](_hdf_face_auth.md#entry1378875880083931p0)
=
1,
[UNLOCK_TEMPLATE](_hdf_face_auth.md#entry1786148552083931p0)
=
2,
[VENDOR_COMMAND_BEGIN](_hdf_face_auth.md#entry1330595345083931p0)
=
10000
} | 枚举人脸认证功能相关操作命令。
[
更多...
](
_hdf_face_auth.md#commandid
)
|
|
[
FaceTipsCode
](
_hdf_face_auth.md#facetipscode
)
:
int
{
[FACE_AUTH_TIP_TOO_BRIGHT](_hdf_face_auth.md#ggafe283e29a705391d97054a4b9d5fe007aa973b57b70bddf6e04ea0d1d8ac84bbc)
=
1,
[FACE_AUTH_TIP_TOO_DARK](_hdf_face_auth.md#ggafe283e29a705391d97054a4b9d5fe007a9e812580c2600ebd4847ac05478805fe)
=
2,
[FACE_AUTH_TIP_TOO_CLOSE](_hdf_face_auth.md#ggafe283e29a705391d97054a4b9d5fe007adbd6a2cd4effac8f2d08a406c21cee17)
=
3,
[FACE_AUTH_TIP_TOO_FAR](_hdf_face_auth.md#ggafe283e29a705391d97054a4b9d5fe007a557c72d5d5dd9cc4ca52406d442a085e)
=
4,
[FACE_AUTH_TIP_TOO_HIGH](_hdf_face_auth.md#ggafe283e29a705391d97054a4b9d5fe007ac573361a2c459a0d0f95f7691819611b)
=
5,
[FACE_AUTH_TIP_TOO_LOW](_hdf_face_auth.md#ggafe283e29a705391d97054a4b9d5fe007a1fbbe62377b7746848761d4fc1e591d8)
=
6,
[FACE_AUTH_TIP_TOO_RIGHT](_hdf_face_auth.md#ggafe283e29a705391d97054a4b9d5fe007a8b8f69a132ab5e9e4770fbe25efe6810)
=
7,
[FACE_AUTH_TIP_TOO_LEFT](_hdf_face_auth.md#ggafe283e29a705391d97054a4b9d5fe007a4f1f1ab1bed69c0968981c6ecc52a572)
=
8,
[FACE_AUTH_TIP_TOO_MUCH_MOTION](_hdf_face_auth.md#ggafe283e29a705391d97054a4b9d5fe007a19f794720c79aaeb2b2cb895eca6c4fd)
=
9,
[FACE_AUTH_TIP_POOR_GAZE](_hdf_face_auth.md#ggafe283e29a705391d97054a4b9d5fe007a93c89c83ede9a3b5a15e90a1975176b7)
=
10,
[FACE_AUTH_TIP_NOT_DETECTED](_hdf_face_auth.md#ggafe283e29a705391d97054a4b9d5fe007aa41ae58b84dbfe8b467de7a11ad236f8)
=
11,
[VENDOR_FACE_AUTH_TIP_BEGIN](_hdf_face_auth.md#ggafe283e29a705391d97054a4b9d5fe007abef2f1de5f74c324a7dd8958a279caab)
=
10000
} | 枚举提示信息编码。
[
更多...
](
_hdf_face_auth.md#facetipscode
)
|
|
[
AuthType
](
_hdf_face_auth.md#authtype
)
:
int
{
PIN
=
1,
FACE
=
2,
FINGERPRINT
=
4
} | 枚举用户认证凭据类型。
[
更多...
](
_hdf_face_auth.md#authtype
)
|
|
[
ExecutorRole
](
_hdf_face_auth.md#executorrole
)
:
int
{
COLLECTOR
=
1,
VERIFIER
=
2,
ALL_IN_ONE
=
3
} | 枚举执行器角色。
[
更多...
](
_hdf_face_auth.md#executorrole
)
|
|
[
ExecutorSecureLevel
](
_hdf_face_auth.md#executorsecurelevel
)
:
int
{
ESL0
=
0,
ESL1
=
1,
ESL2
=
2,
ESL3
=
3
} | 枚举执行器安全等级。
[
更多...
](
_hdf_face_auth.md#executorsecurelevel
)
|
|
[
CommandId
](
_hdf_face_auth.md#commandid
)
:
int
{
LOCK_TEMPLATE
=
1,
UNLOCK_TEMPLATE
=
2,
VENDOR_COMMAND_BEGIN
=
10000
} | 枚举人脸认证功能相关操作命令。
[
更多...
](
_hdf_face_auth.md#commandid
)
|
|
[
FaceTipsCode
](
_hdf_face_auth.md#facetipscode
)
:
int
{
FACE_AUTH_TIP_TOO_BRIGHT
=
1,
FACE_AUTH_TIP_TOO_DARK
=
2,
FACE_AUTH_TIP_TOO_CLOSE
=
3,
FACE_AUTH_TIP_TOO_FAR
=
4,
FACE_AUTH_TIP_TOO_HIGH
=
5,
FACE_AUTH_TIP_TOO_LOW
=
6,
FACE_AUTH_TIP_TOO_RIGHT
=
7,
FACE_AUTH_TIP_TOO_LEFT
=
8,
FACE_AUTH_TIP_TOO_MUCH_MOTION
=
9,
FACE_AUTH_TIP_POOR_GAZE
=
10,
FACE_AUTH_TIP_NOT_DETECTED
=
11,
VENDOR_FACE_AUTH_TIP_BEGIN
=
10000
} | 枚举提示信息编码。
[
更多...
](
_hdf_face_auth.md#facetipscode
)
|
### 变量
...
...
zh-cn/device-dev/api/_hdf_face_auth.md
浏览文件 @
6caf0f7c
...
...
@@ -27,13 +27,13 @@
### 枚举
| 枚举 | 描述 |
| 枚举
名称
| 描述 |
| -------- | -------- |
|
[
AuthType
](
#authtype
)
:
int
{
[PIN](_hdf_user_auth.md#gga89fed1f0b2adadc0ab678c1c6b9570a1a048efb7462d3f8cced82716c66926168)
=
1,
[FACE](_hdf_user_auth.md#gga89fed1f0b2adadc0ab678c1c6b9570a1a5cfae78048cf95359061c2e812e7d691)
=
2,
[FINGERPRINT](_hdf_user_auth.md#gga89fed1f0b2adadc0ab678c1c6b9570a1ad03eae85b35bf9bc22d787c8913b795a)
=
4
} | 枚举用户认证凭据类型。
[
更多...
](
#authtype
)
|
|
[
ExecutorRole
](
#executorrole
)
:
int
{
[COLLECTOR](_hdf_user_auth.md#ggaef26ea73ebd494278e243c53b41ea7e5a539c54e76bcc96cddb85f0cabcff39ec)
=
1,
[VERIFIER](_hdf_user_auth.md#ggaef26ea73ebd494278e243c53b41ea7e5a1286a5d974d0c68d7bc43ffc0576a6d4)
=
2,
[ALL_IN_ONE](_hdf_user_auth.md#ggaef26ea73ebd494278e243c53b41ea7e5a7eebd77a403f81c5968b4c2898ee6fd4)
=
3
} | 枚举执行器角色。
[
更多...
](
#executorrole
)
|
|
[
ExecutorSecureLevel
](
#executorsecurelevel
)
:
int
{
[ESL0](_hdf_user_auth.md#gga955c57d8720719916dd806106356fa0fa0cd05a2adda94d3c676fca84f96c0638)
=
0,
[ESL1](_hdf_user_auth.md#gga955c57d8720719916dd806106356fa0fae6a34bbf2764541238bf81569faf29d3)
=
1,
[ESL2](_hdf_user_auth.md#gga955c57d8720719916dd806106356fa0fa8f898bca57625d548a011ba2aaf4285f)
=
2,
[ESL3](_hdf_user_auth.md#gga955c57d8720719916dd806106356fa0fa9a6fb8a4530b6a09dba2fbfdf2e6c2e9)
=
3
} | 枚举执行器安全等级。
[
更多...
](
#executorsecurelevel
)
|
|
[
CommandId
](
#commandid
)
:
int
{
[ERROR:Invalid
link:zh-cn_topic_0000001295414192.xml#xref313653401083931,link:#entry1378875880083931p0](#entry1378875880083931p0)
=
1,
[ERROR:Invalid
link:zh-cn_topic_0000001295414192.xml#xref148718194083931,link:#entry1786148552083931p0](#entry1786148552083931p0)
=
2,
[ERROR:Invalid
link:zh-cn_topic_0000001295414192.xml#xref2084154321083931,link:#entry1330595345083931p0](#entry1330595345083931p0)
=
10000
} | 枚举人脸认证功能相关操作命令。
[
更多...
](
#commandid
)
|
|
[
FaceTipsCode
](
#facetipscode
)
:
int
{
[ERROR:Invalid
link:zh-cn_topic_0000001295414192.xml#xref1058539048083931,link:zh-cn_topic_0000001295414192.xml#ggafe283e29a705391d97054a4b9d5fe007aa973b57b70bddf6e04ea0d1d8ac84bbc](#ggafe283e29a705391d97054a4b9d5fe007aa973b57b70bddf6e04ea0d1d8ac84bbc)
=
1,
[ERROR:Invalid
link:zh-cn_topic_0000001295414192.xml#xref2091712261083931,link:zh-cn_topic_0000001295414192.xml#ggafe283e29a705391d97054a4b9d5fe007a9e812580c2600ebd4847ac05478805fe](#ggafe283e29a705391d97054a4b9d5fe007a9e812580c2600ebd4847ac05478805fe)
=
2,
[ERROR:Invalid
link:zh-cn_topic_0000001295414192.xml#xref2114375419083931,link:zh-cn_topic_0000001295414192.xml#ggafe283e29a705391d97054a4b9d5fe007adbd6a2cd4effac8f2d08a406c21cee17](#ggafe283e29a705391d97054a4b9d5fe007adbd6a2cd4effac8f2d08a406c21cee17)
=
3,
[ERROR:Invalid
link:zh-cn_topic_0000001295414192.xml#xref640599540083931,link:zh-cn_topic_0000001295414192.xml#ggafe283e29a705391d97054a4b9d5fe007a557c72d5d5dd9cc4ca52406d442a085e](#ggafe283e29a705391d97054a4b9d5fe007a557c72d5d5dd9cc4ca52406d442a085e)
=
4,
[ERROR:Invalid
link:zh-cn_topic_0000001295414192.xml#xref716207804083931,link:zh-cn_topic_0000001295414192.xml#ggafe283e29a705391d97054a4b9d5fe007ac573361a2c459a0d0f95f7691819611b](#ggafe283e29a705391d97054a4b9d5fe007ac573361a2c459a0d0f95f7691819611b)
=
5,
[ERROR:Invalid
link:zh-cn_topic_0000001295414192.xml#xref1534653669083931,link:zh-cn_topic_0000001295414192.xml#ggafe283e29a705391d97054a4b9d5fe007a1fbbe62377b7746848761d4fc1e591d8](#ggafe283e29a705391d97054a4b9d5fe007a1fbbe62377b7746848761d4fc1e591d8)
=
6,
[ERROR:Invalid
link:zh-cn_topic_0000001295414192.xml#xref840994427083931,link:zh-cn_topic_0000001295414192.xml#ggafe283e29a705391d97054a4b9d5fe007a8b8f69a132ab5e9e4770fbe25efe6810](#ggafe283e29a705391d97054a4b9d5fe007a8b8f69a132ab5e9e4770fbe25efe6810)
=
7,
[ERROR:Invalid
link:zh-cn_topic_0000001295414192.xml#xref480644543083931,link:zh-cn_topic_0000001295414192.xml#ggafe283e29a705391d97054a4b9d5fe007a4f1f1ab1bed69c0968981c6ecc52a572](#ggafe283e29a705391d97054a4b9d5fe007a4f1f1ab1bed69c0968981c6ecc52a572)
=
8,
[ERROR:Invalid
link:zh-cn_topic_0000001295414192.xml#xref1440203875083931,link:zh-cn_topic_0000001295414192.xml#ggafe283e29a705391d97054a4b9d5fe007a19f794720c79aaeb2b2cb895eca6c4fd](#ggafe283e29a705391d97054a4b9d5fe007a19f794720c79aaeb2b2cb895eca6c4fd)
=
9,
[ERROR:Invalid
link:zh-cn_topic_0000001295414192.xml#xref1366149389083931,link:zh-cn_topic_0000001295414192.xml#ggafe283e29a705391d97054a4b9d5fe007a93c89c83ede9a3b5a15e90a1975176b7](#ggafe283e29a705391d97054a4b9d5fe007a93c89c83ede9a3b5a15e90a1975176b7)
=
10,
[ERROR:Invalid
link:zh-cn_topic_0000001295414192.xml#xref1532937057083931,link:zh-cn_topic_0000001295414192.xml#ggafe283e29a705391d97054a4b9d5fe007aa41ae58b84dbfe8b467de7a11ad236f8](#ggafe283e29a705391d97054a4b9d5fe007aa41ae58b84dbfe8b467de7a11ad236f8)
=
11,
[ERROR:Invalid
link:zh-cn_topic_0000001295414192.xml#xref1048618882083931,link:zh-cn_topic_0000001295414192.xml#ggafe283e29a705391d97054a4b9d5fe007abef2f1de5f74c324a7dd8958a279caab](#ggafe283e29a705391d97054a4b9d5fe007abef2f1de5f74c324a7dd8958a279caab)
=
10000
} | 枚举提示信息编码。
[
更多...
](
#facetipscode
)
|
|
[
AuthType
](
#authtype
)
:
int
{
PIN
=
1,
FACE
=
2,
FINGERPRINT
=
4
} | 枚举用户认证凭据类型。
[
更多...
](
#authtype
)
|
|
[
ExecutorRole
](
#executorrole
)
:
int
{
COLLECTOR
=
1,
VERIFIER
=
2,
ALL_IN_ONE
=
3
} | 枚举执行器角色。
[
更多...
](
#executorrole
)
|
|
[
ExecutorSecureLevel
](
#executorsecurelevel
)
:
int
{
ESL0
=
0,
ESL1
=
1,
ESL2
=
2,
ESL3
=
3
} | 枚举执行器安全等级。
[
更多...
](
#executorsecurelevel
)
|
|
[
CommandId
](
#commandid
)
:
int
{
LOCK_TEMPLATE
=
1,
UNLOCK_TEMPLATE
=
2,
VENDOR_COMMAND_BEGIN
=
10000
} | 枚举人脸认证功能相关操作命令。
[
更多...
](
#commandid
)
|
|
[
FaceTipsCode
](
#facetipscode
)
:
int
{
FACE_AUTH_TIP_TOO_BRIGHT
=
1,
FACE_AUTH_TIP_TOO_DARK
=
2,
FACE_AUTH_TIP_TOO_CLOSE
=
3,
FACE_AUTH_TIP_TOO_FAR
=
4,
FACE_AUTH_TIP_TOO_HIGH
=
5,
FACE_AUTH_TIP_TOO_LOW
=
6,
FACE_AUTH_TIP_TOO_RIGHT
=
7,
FACE_AUTH_TIP_TOO_LEFT
=
8,
FACE_AUTH_TIP_TOO_MUCH_MOTION
=
9,
FACE_AUTH_TIP_POOR_GAZE
=
10,
FACE_AUTH_TIP_NOT_DETECTED
=
11,
VENDOR_FACE_AUTH_TIP_BEGIN
=
10000
} | 枚举提示信息编码。
[
更多...
](
#facetipscode
)
|
### 变量
...
...
zh-cn/device-dev/api/_hdf_pin_auth.md
浏览文件 @
6caf0f7c
...
...
@@ -29,10 +29,10 @@
| 枚举 | 描述 |
| -------- | -------- |
|
[
AuthType
](
#authtype
)
:
int
{
[PIN](_hdf_user_auth.md#gga89fed1f0b2adadc0ab678c1c6b9570a1a048efb7462d3f8cced82716c66926168)
=
1,
[FACE](_hdf_user_auth.md#gga89fed1f0b2adadc0ab678c1c6b9570a1a5cfae78048cf95359061c2e812e7d691)
=
2,
[FINGERPRINT](_hdf_user_auth.md#gga89fed1f0b2adadc0ab678c1c6b9570a1ad03eae85b35bf9bc22d787c8913b795a)
=
4
} | 枚举用户认证凭据类型。
[
更多...
](
#authtype
)
|
|
[
ExecutorRole
](
#executorrole
)
:
int
{
[COLLECTOR](_hdf_user_auth.md#ggaef26ea73ebd494278e243c53b41ea7e5a539c54e76bcc96cddb85f0cabcff39ec)
=
1,
[VERIFIER](_hdf_user_auth.md#ggaef26ea73ebd494278e243c53b41ea7e5a1286a5d974d0c68d7bc43ffc0576a6d4)
=
2,
[ALL_IN_ONE](_hdf_user_auth.md#ggaef26ea73ebd494278e243c53b41ea7e5a7eebd77a403f81c5968b4c2898ee6fd4)
=
3
} | 枚举执行器角色。
[
更多...
](
#executorrole
)
|
|
[
ExecutorSecureLevel
](
#executorsecurelevel
)
:
int
{
[ESL0](_hdf_user_auth.md#gga955c57d8720719916dd806106356fa0fa0cd05a2adda94d3c676fca84f96c0638)
=
0,
[ESL1](_hdf_user_auth.md#gga955c57d8720719916dd806106356fa0fae6a34bbf2764541238bf81569faf29d3)
=
1,
[ESL2](_hdf_user_auth.md#gga955c57d8720719916dd806106356fa0fa8f898bca57625d548a011ba2aaf4285f)
=
2,
[ESL3](_hdf_user_auth.md#gga955c57d8720719916dd806106356fa0fa9a6fb8a4530b6a09dba2fbfdf2e6c2e9)
=
3
} | 枚举执行器安全等级。
[
更多...
](
#executorsecurelevel
)
|
|
[
CommandId
](
#commandid
)
:
int
{
[ERROR:Invalid
link:zh-cn_topic_0000001295254320.xml#xref679966451083931,link:zh-cn_topic_0000001295254320.xml#gga5633c8cc52bef1a4df7539c7bb6febe7a88ec7d5086d2469ba843c7fcceade8a6](#gga5633c8cc52bef1a4df7539c7bb6febe7a88ec7d5086d2469ba843c7fcceade8a6)
=
0
} | 枚举口令认证相关功能操作命令。
[
更多...
](
#commandid
)
|
|
[
AuthType
](
#authtype
)
:
int
{
PIN
=
1,
FACE
=
2,
FINGERPRINT
=
4
} | 枚举用户认证凭据类型。
[
更多...
](
#authtype
)
|
|
[
ExecutorRole
](
#executorrole
)
:
int
{
COLLECTOR
=
1,
VERIFIER
=
2,
ALL_IN_ONE
=
3
} | 枚举执行器角色。
[
更多...
](
#executorrole
)
|
|
[
ExecutorSecureLevel
](
#executorsecurelevel
)
:
int
{
ESL0
=
0,
ESL1
=
1,
ESL2
=
2,
ESL3
=
3
} | 枚举执行器安全等级。
[
更多...
](
#executorsecurelevel
)
|
|
[
CommandId
](
#commandid
)
:
int
{
DEFAULT
=
0
} | 枚举口令认证相关功能操作命令。
[
更多...
](
#commandid
)
|
### 变量
...
...
zh-cn/device-dev/api/_hdf_user_auth.md
浏览文件 @
6caf0f7c
...
...
@@ -33,9 +33,9 @@
| 枚举 | 描述 |
| -------- | -------- |
|
[
AuthType
](
#authtype
)
:
int
{
[ERROR:Invalid
link:zh-cn_topic_0000001295573820.xml#xref2099463766083931,link:zh-cn_topic_0000001295573820.xml#gga89fed1f0b2adadc0ab678c1c6b9570a1a048efb7462d3f8cced82716c66926168](#gga89fed1f0b2adadc0ab678c1c6b9570a1a048efb7462d3f8cced82716c66926168)
=
1,
[ERROR:Invalid
link:zh-cn_topic_0000001295573820.xml#xref1101090273083931,link:zh-cn_topic_0000001295573820.xml#gga89fed1f0b2adadc0ab678c1c6b9570a1a5cfae78048cf95359061c2e812e7d691](#gga89fed1f0b2adadc0ab678c1c6b9570a1a5cfae78048cf95359061c2e812e7d691)
=
2,
[ERROR:Invalid
link:zh-cn_topic_0000001295573820.xml#xref2144839375083931,link:zh-cn_topic_0000001295573820.xml#gga89fed1f0b2adadc0ab678c1c6b9570a1ad03eae85b35bf9bc22d787c8913b795a](#gga89fed1f0b2adadc0ab678c1c6b9570a1ad03eae85b35bf9bc22d787c8913b795a)
=
4,
[ERROR:Invalid
link:zh-cn_topic_0000001295573820.xml#xref258518135083931,link:zh-cn_topic_0000001295573820.xml#gga89fed1f0b2adadc0ab678c1c6b9570a1ab1d5eac4b1dca480c8056eaea7663b7a](#gga89fed1f0b2adadc0ab678c1c6b9570a1ab1d5eac4b1dca480c8056eaea7663b7a)
=
0
} | 枚举用户认证凭据类型。
[
更多...
](
#authtype
)
|
|
[
ExecutorRole
](
#executorrole
)
:
int
{
[ERROR:Invalid
link:zh-cn_topic_0000001295573820.xml#xref1855863902083931,link:zh-cn_topic_0000001295573820.xml#ggaef26ea73ebd494278e243c53b41ea7e5a539c54e76bcc96cddb85f0cabcff39ec](#ggaef26ea73ebd494278e243c53b41ea7e5a539c54e76bcc96cddb85f0cabcff39ec)
=
1,
[ERROR:Invalid
link:zh-cn_topic_0000001295573820.xml#xref1503416700083931,link:zh-cn_topic_0000001295573820.xml#ggaef26ea73ebd494278e243c53b41ea7e5a1286a5d974d0c68d7bc43ffc0576a6d4](#ggaef26ea73ebd494278e243c53b41ea7e5a1286a5d974d0c68d7bc43ffc0576a6d4)
=
2,
[ERROR:Invalid
link:zh-cn_topic_0000001295573820.xml#xref902051378083931,link:zh-cn_topic_0000001295573820.xml#ggaef26ea73ebd494278e243c53b41ea7e5a7eebd77a403f81c5968b4c2898ee6fd4](#ggaef26ea73ebd494278e243c53b41ea7e5a7eebd77a403f81c5968b4c2898ee6fd4)
=
3
} | 枚举执行器角色。
[
更多...
](
#executorrole
)
|
|
[
ExecutorSecureLevel
](
#executorsecurelevel
)
:
int
{
[ERROR:Invalid
link:zh-cn_topic_0000001295573820.xml#xref984255741083931,link:zh-cn_topic_0000001295573820.xml#gga955c57d8720719916dd806106356fa0fa0cd05a2adda94d3c676fca84f96c0638](#gga955c57d8720719916dd806106356fa0fa0cd05a2adda94d3c676fca84f96c0638)
=
0,
[ERROR:Invalid
link:zh-cn_topic_0000001295573820.xml#xref1990347701083931,link:zh-cn_topic_0000001295573820.xml#gga955c57d8720719916dd806106356fa0fae6a34bbf2764541238bf81569faf29d3](#gga955c57d8720719916dd806106356fa0fae6a34bbf2764541238bf81569faf29d3)
=
1,
[ERROR:Invalid
link:zh-cn_topic_0000001295573820.xml#xref849727353083931,link:zh-cn_topic_0000001295573820.xml#gga955c57d8720719916dd806106356fa0fa8f898bca57625d548a011ba2aaf4285f](#gga955c57d8720719916dd806106356fa0fa8f898bca57625d548a011ba2aaf4285f)
=
2,
[ERROR:Invalid
link:zh-cn_topic_0000001295573820.xml#xref1372842813083931,link:zh-cn_topic_0000001295573820.xml#gga955c57d8720719916dd806106356fa0fa9a6fb8a4530b6a09dba2fbfdf2e6c2e9](#gga955c57d8720719916dd806106356fa0fa9a6fb8a4530b6a09dba2fbfdf2e6c2e9)
=
3
} | 枚举执行器安全等级。
[
更多...
](
#executorsecurelevel
)
|
|
[
AuthType
](
#authtype
)
:
int
{
PIN
=
1,
FACE
=
2,
FINGERPRINT
=
4,
ALL
=
0
} | 枚举用户认证凭据类型。
[
更多...
](
#authtype
)
|
|
[
ExecutorRole
](
#executorrole
)
:
int
{
COLLECTOR
=
1,
VERIFIER
=
2,
ALL_IN_ONE
=
3
} | 枚举执行器角色。
[
更多...
](
#executorrole
)
|
|
[
ExecutorSecureLevel
](
#executorsecurelevel
)
:
int
{
ESL0
=
0,
ESL1
=
1,
ESL2
=
2,
ESL3
=
3
} | 枚举执行器安全等级。
[
更多...
](
#executorsecurelevel
)
|
### 变量
...
...
zh-cn/device-dev/api/_input.md
浏览文件 @
6caf0f7c
...
...
@@ -42,12 +42,12 @@
### 枚举
| 枚举 | 描述 |
| 枚举
名称
| 描述 |
| -------- | -------- |
|
[
RetStatus
](
#retstatus
)
{
[ERROR:Invalid
link:zh-cn_topic_0000001295094392.xml#xref1300857390083931,link:zh-cn_topic_0000001295094392.xml#gga85d58a5185669daa4995e332b63eba7aa4b6c3821e689826c4323c4eb759b4d3a](#gga85d58a5185669daa4995e332b63eba7aa4b6c3821e689826c4323c4eb759b4d3a)
=
0,
[ERROR:Invalid
link:zh-cn_topic_0000001295094392.xml#xref1409989604083931,link:zh-cn_topic_0000001295094392.xml#gga85d58a5185669daa4995e332b63eba7aa07d986b0ee365020834af82a31dfce11](#gga85d58a5185669daa4995e332b63eba7aa07d986b0ee365020834af82a31dfce11)
=
-1,
[ERROR:Invalid
link:zh-cn_topic_0000001295094392.xml#xref452864304083931,link:zh-cn_topic_0000001295094392.xml#gga85d58a5185669daa4995e332b63eba7aa5f54ab958e21a298da35c3c5c1c36d85](#gga85d58a5185669daa4995e332b63eba7aa5f54ab958e21a298da35c3c5c1c36d85)
=
-2,
[ERROR:Invalid
link:zh-cn_topic_0000001295094392.xml#xref961590603083931,link:zh-cn_topic_0000001295094392.xml#gga85d58a5185669daa4995e332b63eba7aaddf6c11b0fac107e0123b83cfc4a1185](#gga85d58a5185669daa4995e332b63eba7aaddf6c11b0fac107e0123b83cfc4a1185)
=
-3,
[ERROR:Invalid
link:zh-cn_topic_0000001295094392.xml#xref924512393083931,link:zh-cn_topic_0000001295094392.xml#gga85d58a5185669daa4995e332b63eba7aa157cd4f4736dd1f05eb2e13dbc7123ed](#gga85d58a5185669daa4995e332b63eba7aa157cd4f4736dd1f05eb2e13dbc7123ed)
=
-4,
[ERROR:Invalid
link:zh-cn_topic_0000001295094392.xml#xref1348525150083931,link:zh-cn_topic_0000001295094392.xml#gga85d58a5185669daa4995e332b63eba7aabdaeb2a27983bd66ff6e24d4df255f59](#gga85d58a5185669daa4995e332b63eba7aabdaeb2a27983bd66ff6e24d4df255f59)
=
-5,
[ERROR:Invalid
link:zh-cn_topic_0000001295094392.xml#xref1671886965083931,link:zh-cn_topic_0000001295094392.xml#gga85d58a5185669daa4995e332b63eba7aa8978f7ee3d0ddd70f5077c21efc4a97a](#gga85d58a5185669daa4995e332b63eba7aa8978f7ee3d0ddd70f5077c21efc4a97a)
=
-6
} | 定义返回值类型
[
更多...
](
#retstatus
)
|
|
[
InputDevType
](
#inputdevtype
)
{
[ERROR:Invalid
link:zh-cn_topic_0000001295094392.xml#xref1555941679083931,link:zh-cn_topic_0000001295094392.xml#ggaa8225ba155dfa1ef2c4119c832bc4dd3a621678554aac2b37ac244b80fc33da0d](#ggaa8225ba155dfa1ef2c4119c832bc4dd3a621678554aac2b37ac244b80fc33da0d),
[ERROR:Invalid
link:zh-cn_topic_0000001295094392.xml#xref490402822083931,link:zh-cn_topic_0000001295094392.xml#ggaa8225ba155dfa1ef2c4119c832bc4dd3a4c4c8407342021cc06a95aa13ebeaca1](#ggaa8225ba155dfa1ef2c4119c832bc4dd3a4c4c8407342021cc06a95aa13ebeaca1),
[ERROR:Invalid
link:zh-cn_topic_0000001295094392.xml#xref233720602083931,link:zh-cn_topic_0000001295094392.xml#ggaa8225ba155dfa1ef2c4119c832bc4dd3a3a4137efe666a3aaccf267d597879fdc](#ggaa8225ba155dfa1ef2c4119c832bc4dd3a3a4137efe666a3aaccf267d597879fdc),
[ERROR:Invalid
link:zh-cn_topic_0000001295094392.xml#xref1190476620083931,link:zh-cn_topic_0000001295094392.xml#ggaa8225ba155dfa1ef2c4119c832bc4dd3abe68740c1d125d3d474fdadc7d31d11c](#ggaa8225ba155dfa1ef2c4119c832bc4dd3abe68740c1d125d3d474fdadc7d31d11c),
[ERROR:Invalid
link:zh-cn_topic_0000001295094392.xml#xref1309699275083931,link:zh-cn_topic_0000001295094392.xml#ggaa8225ba155dfa1ef2c4119c832bc4dd3a2815a25dde3e56e1f8eb57f20049e8c0](#ggaa8225ba155dfa1ef2c4119c832bc4dd3a2815a25dde3e56e1f8eb57f20049e8c0),
[ERROR:Invalid
link:zh-cn_topic_0000001295094392.xml#xref1202673028083931,link:zh-cn_topic_0000001295094392.xml#ggaa8225ba155dfa1ef2c4119c832bc4dd3a4ef2ab6bc355e2321664709716d1d04f](#ggaa8225ba155dfa1ef2c4119c832bc4dd3a4ef2ab6bc355e2321664709716d1d04f),
[ERROR:Invalid
link:zh-cn_topic_0000001295094392.xml#xref2038943016083931,link:zh-cn_topic_0000001295094392.xml#ggaa8225ba155dfa1ef2c4119c832bc4dd3a8cd6b27ac631b9d3fa89a17ddca37291](#ggaa8225ba155dfa1ef2c4119c832bc4dd3a8cd6b27ac631b9d3fa89a17ddca37291),
[ERROR:Invalid
link:zh-cn_topic_0000001295094392.xml#xref753753548083931,link:zh-cn_topic_0000001295094392.xml#ggaa8225ba155dfa1ef2c4119c832bc4dd3a4097247eba52062f47a1aa99414033de](#ggaa8225ba155dfa1ef2c4119c832bc4dd3a4097247eba52062f47a1aa99414033de)
} | 定义input设备类型
[
更多...
](
#inputdevtype
)
|
|
[
PowerStatus
](
#powerstatus
)
{
[ERROR:Invalid
link:zh-cn_topic_0000001295094392.xml#xref2104217090083931,link:zh-cn_topic_0000001295094392.xml#gga65e6bb4d942c22dba9975253b0a1d73fa5edb1acdc509659046de9cb61bd9508a](#gga65e6bb4d942c22dba9975253b0a1d73fa5edb1acdc509659046de9cb61bd9508a),
[ERROR:Invalid
link:zh-cn_topic_0000001295094392.xml#xref612508396083931,link:zh-cn_topic_0000001295094392.xml#gga65e6bb4d942c22dba9975253b0a1d73fa2a6aab1b3d50dae2b6ba43779e185ea5](#gga65e6bb4d942c22dba9975253b0a1d73fa2a6aab1b3d50dae2b6ba43779e185ea5),
[ERROR:Invalid
link:zh-cn_topic_0000001295094392.xml#xref1485213206083931,link:zh-cn_topic_0000001295094392.xml#gga65e6bb4d942c22dba9975253b0a1d73fa8895c64802d558830d46bcd921830e9d](#gga65e6bb4d942c22dba9975253b0a1d73fa8895c64802d558830d46bcd921830e9d),
[ERROR:Invalid
link:zh-cn_topic_0000001295094392.xml#xref1055889242083931,link:zh-cn_topic_0000001295094392.xml#gga65e6bb4d942c22dba9975253b0a1d73fa728020b31c626f749d426cbe8f0f92fe](#gga65e6bb4d942c22dba9975253b0a1d73fa728020b31c626f749d426cbe8f0f92fe)
} | 定义电源状态
[
更多...
](
#powerstatus
)
|
|
[
CapacitanceTest
](
#capacitancetest
)
{
[ERROR:Invalid
link:zh-cn_topic_0000001295094392.xml#xref188734445083931,link:zh-cn_topic_0000001295094392.xml#ggae96e484cfd64ea37b5b7782f57f38a21aedd31f50c79a36cc8e084d69a3fc695b](#ggae96e484cfd64ea37b5b7782f57f38a21aedd31f50c79a36cc8e084d69a3fc695b),
[ERROR:Invalid
link:zh-cn_topic_0000001295094392.xml#xref335398850083931,link:zh-cn_topic_0000001295094392.xml#ggae96e484cfd64ea37b5b7782f57f38a21abfe92c879dc84b5b071899a7ec5cc41d](#ggae96e484cfd64ea37b5b7782f57f38a21abfe92c879dc84b5b071899a7ec5cc41d),
[ERROR:Invalid
link:zh-cn_topic_0000001295094392.xml#xref1929415567083931,link:zh-cn_topic_0000001295094392.xml#ggae96e484cfd64ea37b5b7782f57f38a21a93335d88212604ade3b0bfe7e619916f](#ggae96e484cfd64ea37b5b7782f57f38a21a93335d88212604ade3b0bfe7e619916f),
[ERROR:Invalid
link:zh-cn_topic_0000001295094392.xml#xref2014653915083931,link:zh-cn_topic_0000001295094392.xml#ggae96e484cfd64ea37b5b7782f57f38a21a31afc25da895db4eaa2af6cec1d6b37c](#ggae96e484cfd64ea37b5b7782f57f38a21a31afc25da895db4eaa2af6cec1d6b37c),
[ERROR:Invalid
link:zh-cn_topic_0000001295094392.xml#xref1192159830083931,link:zh-cn_topic_0000001295094392.xml#ggae96e484cfd64ea37b5b7782f57f38a21a9d739cecefd291b39152e3815445aa20](#ggae96e484cfd64ea37b5b7782f57f38a21a9d739cecefd291b39152e3815445aa20)
} | 定义容值测试类型
[
更多...
](
#capacitancetest
)
|
|
[
RetStatus
](
#retstatus
)
{
INPUT_SUCCESS
=
0,
INPUT_FAILURE
=
-1,
INPUT_INVALID_PARAM
=
-2,
INPUT_NOMEM
=
-3,
INPUT_NULL_PTR
=
-4,
INPUT_TIMEOUT
=
-5,
INPUT_UNSUPPORTED
=
-6
} | 定义返回值类型
[
更多...
](
#retstatus
)
|
|
[
InputDevType
](
#inputdevtype
)
{
INDEV_TYPE_TOUCH,
INDEV_TYPE_KEY,
INDEV_TYPE_KEYBOARD,
INDEV_TYPE_MOUSE,
INDEV_TYPE_BUTTON,
INDEV_TYPE_CROWN,
INDEV_TYPE_ENCODER,
INDEV_TYPE_UNKNOWN
} | 定义input设备类型
[
更多...
](
#inputdevtype
)
|
|
[
PowerStatus
](
#powerstatus
)
{
INPUT_RESUME,
INPUT_SUSPEND,
INPUT_LOW_POWER,
INPUT_POWER_STATUS_UNKNOWN
} | 定义电源状态
[
更多...
](
#powerstatus
)
|
|
[
CapacitanceTest
](
#capacitancetest
)
{
BASE_TEST,
FULL_TEST,
MMI_TEST,
RUNNING_TEST,
TEST_TYPE_UNKNOWN
} | 定义容值测试类型
[
更多...
](
#capacitancetest
)
|
### 函数
...
...
zh-cn/device-dev/api/_light.md
浏览文件 @
6caf0f7c
...
...
@@ -24,11 +24,11 @@
### 枚举
| 枚举 | 描述 |
| 枚举
名称
| 描述 |
| -------- | -------- |
|
[
LightStatus
](
#lightstatus
)
{
[ERROR:Invalid
link:zh-cn_topic_0000001295094348.xml#xref669817133083931,link:zh-cn_topic_0000001295094348.xml#gga7e734c01235aff210cae379b12e53e9da232a2bb4a97420c327e6f3ea0551eba9](#gga7e734c01235aff210cae379b12e53e9da232a2bb4a97420c327e6f3ea0551eba9)
=
0,
[ERROR:Invalid
link:zh-cn_topic_0000001295094348.xml#xref1922765945083931,link:zh-cn_topic_0000001295094348.xml#gga7e734c01235aff210cae379b12e53e9daa45f0187f0b5768ad0925ded9c89571a](#gga7e734c01235aff210cae379b12e53e9daa45f0187f0b5768ad0925ded9c89571a)
=
-1,
[ERROR:Invalid
link:zh-cn_topic_0000001295094348.xml#xref2144622860083931,link:zh-cn_topic_0000001295094348.xml#gga7e734c01235aff210cae379b12e53e9daf0b19776befd37739b12cf23d170ff30](#gga7e734c01235aff210cae379b12e53e9daf0b19776befd37739b12cf23d170ff30)
=
-2,
[ERROR:Invalid
link:zh-cn_topic_0000001295094348.xml#xref707352116083931,link:zh-cn_topic_0000001295094348.xml#gga7e734c01235aff210cae379b12e53e9dad2f1173892e1d07a8126c6c35a999a37](#gga7e734c01235aff210cae379b12e53e9dad2f1173892e1d07a8126c6c35a999a37)
=
-3
} | 枚举灯模块的状态值。
[
更多...
](
#lightstatus
)
|
|
[
LightId
](
#lightid
)
{
[ERROR:Invalid
link:zh-cn_topic_0000001295094348.xml#xref683206926083931,link:zh-cn_topic_0000001295094348.xml#gga8af1cb654f32fb5377425257b28748e5ac983420abafcd5130c932b845974f99b](#gga8af1cb654f32fb5377425257b28748e5ac983420abafcd5130c932b845974f99b)
=
0,
[ERROR:Invalid
link:zh-cn_topic_0000001295094348.xml#xref850328663083931,link:zh-cn_topic_0000001295094348.xml#gga8af1cb654f32fb5377425257b28748e5af15783cc343be88bf3008341ac0c6625](#gga8af1cb654f32fb5377425257b28748e5af15783cc343be88bf3008341ac0c6625)
=
1,
[ERROR:Invalid
link:zh-cn_topic_0000001295094348.xml#xref1639689805083931,link:zh-cn_topic_0000001295094348.xml#gga8af1cb654f32fb5377425257b28748e5a0130b68a96276084c65827c34a4e396d](#gga8af1cb654f32fb5377425257b28748e5a0130b68a96276084c65827c34a4e396d)
=
2,
[ERROR:Invalid
link:zh-cn_topic_0000001295094348.xml#xref1331872722083931,link:zh-cn_topic_0000001295094348.xml#gga8af1cb654f32fb5377425257b28748e5a3b03c358d0573b293fe648cf349e7083](#gga8af1cb654f32fb5377425257b28748e5a3b03c358d0573b293fe648cf349e7083)
=
3,
[ERROR:Invalid
link:zh-cn_topic_0000001295094348.xml#xref1112243301083931,link:zh-cn_topic_0000001295094348.xml#gga8af1cb654f32fb5377425257b28748e5a25137b2ac5c4e6dc4f5edc47f175e38c](#gga8af1cb654f32fb5377425257b28748e5a25137b2ac5c4e6dc4f5edc47f175e38c)
=
4
} | 枚举灯类型
[
更多...
](
#lightid
)
|
|
[
LightFlashMode
](
#lightflashmode
)
{
[ERROR:Invalid
link:zh-cn_topic_0000001295094348.xml#xref1338345588083931,link:zh-cn_topic_0000001295094348.xml#ggaacf9823c64514a279833614add26ab5da72520ea2652cf669185239981de8a6f0](#ggaacf9823c64514a279833614add26ab5da72520ea2652cf669185239981de8a6f0)
=
0,
[ERROR:Invalid
link:zh-cn_topic_0000001295094348.xml#xref1733020795083931,link:zh-cn_topic_0000001295094348.xml#ggaacf9823c64514a279833614add26ab5da3d4dc48f86b6635811e497e5a27f475c](#ggaacf9823c64514a279833614add26ab5da3d4dc48f86b6635811e497e5a27f475c)
=
1,
[ERROR:Invalid
link:zh-cn_topic_0000001295094348.xml#xref444541071083931,link:zh-cn_topic_0000001295094348.xml#ggaacf9823c64514a279833614add26ab5da87ae168f921bbab98e18bf80f7d9b8d5](#ggaacf9823c64514a279833614add26ab5da87ae168f921bbab98e18bf80f7d9b8d5)
=
2
} | 枚举灯的模式
[
更多...
](
#lightflashmode
)
|
|
[
LightStatus
](
#lightstatus
)
{
LIGHT_SUCCESS
=
0,
LIGHT_NOT_SUPPORT
=
-1,
LIGHT_NOT_FLASH
=
-2,
LIGHT_NOT_BRIGHTNESS
=
-3
} | 枚举灯模块的状态值。
[
更多...
](
#lightstatus
)
|
|
[
LightId
](
#lightid
)
{
LIGHT_ID_NONE
=
0,
LIGHT_ID_BATTERY
=
1,
LIGHT_ID_NOTIFICATIONS
=
2,
LIGHT_ID_ATTENTION
=
3,
LIGHT_ID_BUTT
=
4
} | 枚举灯类型
[
更多...
](
#lightid
)
|
|
[
LightFlashMode
](
#lightflashmode
)
{
LIGHT_FLASH_NONE
=
0,
LIGHT_FLASH_TIMED
=
1,
LIGHT_FLASH_BUTT
=
2
} | 枚举灯的模式
[
更多...
](
#lightflashmode
)
|
### 函数
...
...
zh-cn/device-dev/api/_pin_auth_types_8idl.md
浏览文件 @
6caf0f7c
...
...
@@ -23,11 +23,10 @@
| 枚举 | 描述 |
| -------- | -------- |
|
[
AuthType
](
_hdf_face_auth.md#authtype
)
:
int
{
[PIN](_hdf_user_auth.md#gga89fed1f0b2adadc0ab678c1c6b9570a1a048efb7462d3f8cced82716c66926168)
=
1,
[FACE](_hdf_user_auth.md#gga89fed1f0b2adadc0ab678c1c6b9570a1a5cfae78048cf95359061c2e812e7d691)
=
2,
[FINGERPRINT](_hdf_user_auth.md#gga89fed1f0b2adadc0ab678c1c6b9570a1ad03eae85b35bf9bc22d787c8913b795a)
=
4
} | 枚举用户认证凭据类型。
[
更多...
](
_hdf_face_auth.md#authtype
)
|
|
[
ExecutorRole
](
_hdf_face_auth.md#executorrole
)
:
int
{
[COLLECTOR](_hdf_user_auth.md#ggaef26ea73ebd494278e243c53b41ea7e5a539c54e76bcc96cddb85f0cabcff39ec)
=
1,
[VERIFIER](_hdf_user_auth.md#ggaef26ea73ebd494278e243c53b41ea7e5a1286a5d974d0c68d7bc43ffc0576a6d4)
=
2,
[ALL_IN_ONE](_hdf_user_auth.md#ggaef26ea73ebd494278e243c53b41ea7e5a7eebd77a403f81c5968b4c2898ee6fd4)
=
3
} | 枚举执行器角色。
[
更多...
](
_hdf_face_auth.md#executorrole
)
|
|
[
ExecutorSecureLevel
](
_hdf_face_auth.md#executorsecurelevel
)
:
int
{
[ESL0](_hdf_user_auth.md#gga955c57d8720719916dd806106356fa0fa0cd05a2adda94d3c676fca84f96c0638)
=
0,
[ESL1](_hdf_user_auth.md#gga955c57d8720719916dd806106356fa0fae6a34bbf2764541238bf81569faf29d3)
=
1,
[ESL2](_hdf_user_auth.md#gga955c57d8720719916dd806106356fa0fa8f898bca57625d548a011ba2aaf4285f)
=
2,
[ESL3](_hdf_user_auth.md#gga955c57d8720719916dd806106356fa0fa9a6fb8a4530b6a09dba2fbfdf2e6c2e9)
=
3
} | 枚举执行器安全等级。
[
更多...
](
_hdf_face_auth.md#executorsecurelevel
)
|
|
[
CommandId
](
_hdf_face_auth.md#commandid
)
:
int
{
[DEFAULT](_hdf_pin_auth.md#gga5633c8cc52bef1a4df7539c7bb6febe7a88ec7d5086d2469ba843c7fcceade8a6)
=
0
} | 枚举口令认证功能相关操作命令。
[
更多...
](
_hdf_face_auth.md#commandid
)
|
|
[
FaceTipsCode
](
_hdf_face_auth.md#facetipscode
)
:
int
{
[FACE_AUTH_TIP_TOO_BRIGHT](_hdf_face_auth.md#ggafe283e29a705391d97054a4b9d5fe007aa973b57b70bddf6e04ea0d1d8ac84bbc)
=
1,
[FACE_AUTH_TIP_TOO_DARK](_hdf_face_auth.md#ggafe283e29a705391d97054a4b9d5fe007a9e812580c2600ebd4847ac05478805fe)
=
2,
[FACE_AUTH_TIP_TOO_CLOSE](_hdf_face_auth.md#ggafe283e29a705391d97054a4b9d5fe007adbd6a2cd4effac8f2d08a406c21cee17)
=
3,
[FACE_AUTH_TIP_TOO_FAR](_hdf_face_auth.md#ggafe283e29a705391d97054a4b9d5fe007a557c72d5d5dd9cc4ca52406d442a085e)
=
4,
[FACE_AUTH_TIP_TOO_HIGH](_hdf_face_auth.md#ggafe283e29a705391d97054a4b9d5fe007ac573361a2c459a0d0f95f7691819611b)
=
5,
[FACE_AUTH_TIP_TOO_LOW](_hdf_face_auth.md#ggafe283e29a705391d97054a4b9d5fe007a1fbbe62377b7746848761d4fc1e591d8)
=
6,
[FACE_AUTH_TIP_TOO_RIGHT](_hdf_face_auth.md#ggafe283e29a705391d97054a4b9d5fe007a8b8f69a132ab5e9e4770fbe25efe6810)
=
7,
[FACE_AUTH_TIP_TOO_LEFT](_hdf_face_auth.md#ggafe283e29a705391d97054a4b9d5fe007a4f1f1ab1bed69c0968981c6ecc52a572)
=
8,
[FACE_AUTH_TIP_TOO_MUCH_MOTION](_hdf_face_auth.md#ggafe283e29a705391d97054a4b9d5fe007a19f794720c79aaeb2b2cb895eca6c4fd)
=
9,
[FACE_AUTH_TIP_POOR_GAZE](_hdf_face_auth.md#ggafe283e29a705391d97054a4b9d5fe007a93c89c83ede9a3b5a15e90a1975176b7)
=
10,
[FACE_AUTH_TIP_NOT_DETECTED](_hdf_face_auth.md#ggafe283e29a705391d97054a4b9d5fe007aa41ae58b84dbfe8b467de7a11ad236f8)
=
11,
[VENDOR_FACE_AUTH_TIP_BEGIN](_hdf_face_auth.md#ggafe283e29a705391d97054a4b9d5fe007abef2f1de5f74c324a7dd8958a279caab)
=
10000
} | 枚举提示信息编码。
[
更多...
](
_hdf_face_auth.md#facetipscode
)
|
|
[
AuthType
](
_hdf_pin_auth.md#authtype
)
:
int
{
PIN
=
1,
FACE
=
2,
FINGERPRINT
=
4
} | 枚举用户认证凭据类型。
[
更多...
](
_hdf_face_auth.md#authtype
)
|
|
[
ExecutorRole
](
_hdf_pin_auth.md#executorrole
)
:
int
{
COLLECTOR
=
1,
VERIFIER
=
2,
ALL_IN_ONE
=
3
} | 枚举执行器角色。
[
更多...
](
_hdf_face_auth.md#executorrole
)
|
|
[
ExecutorSecureLevel
](
_hdf_pin_auth.md#executorsecurelevel
)
:
int
{
ESL0
=
0,
ESL1
=
1,
ESL2
=
2,
ESL3
=
3
} | 枚举执行器安全等级。
[
更多...
](
_hdf_face_auth.md#executorsecurelevel
)
|
|
[
CommandId
](
_hdf_pin_auth.md#commandid
)
:
int
{
DEFAULT
=
0
} | 枚举口令认证功能相关操作命令。
[
更多...
](
_hdf_face_auth.md#commandid
)
|
### 变量
...
...
zh-cn/device-dev/api/_power_types_8idl.md
浏览文件 @
6caf0f7c
...
...
@@ -13,11 +13,11 @@
### 枚举
| 枚举 | 描述 |
| 枚举
名称
| 描述 |
| -------- | -------- |
|
[
PowerHdfCmd
](
power.md#powerhdfcmd
)
{
[CMD_REGISTER_CALLBCK](power.md#gga0c9f68a1cf4b1b76a8253281688a499fadb8d2fd75158645b1cd01cab62a11e48)
=
0,
[CMD_START_SUSPEND](power.md#gga0c9f68a1cf4b1b76a8253281688a499fab1d1e95415b8a9ab070fed3200b5f1d3),
[CMD_STOP_SUSPEND](power.md#gga0c9f68a1cf4b1b76a8253281688a499fa65c754fdc432aa2a6f13c27cb97c27de),
[CMD_FORCE_SUSPEND](power.md#gga0c9f68a1cf4b1b76a8253281688a499faa96402e649008dcafce89c7a47c6f266),
[CMD_SUSPEND_BLOCK](power.md#gga0c9f68a1cf4b1b76a8253281688a499fa0766f8c155a9de9fc7168a498c8317da),
[CMD_SUSPEND_UNBLOCK](power.md#gga0c9f68a1cf4b1b76a8253281688a499fa840d1fd2227dfea25fcee7217deb82ed),
[CMD_DUMP](power.md#gga0c9f68a1cf4b1b76a8253281688a499fab92b7d7125239e258bd22cd1a35aba0d)
} | 枚举电源命令的参数。
[
更多...
](
power.md#powerhdfcmd
)
|
|
[
PowerHdfCallbackCmd
](
power.md#powerhdfcallbackcmd
)
{
[CMD_ON_SUSPEND](power.md#gga4bbb7ca0dc24efe3980c39cd409b4109a6d4a3ebd4580d7303df66d5ea9ad98d1)
=
0,
[CMD_ON_WAKEUP](power.md#gga4bbb7ca0dc24efe3980c39cd409b4109a4d0194285647be62fe2c191cad95e72f)
} | 枚举电源状态回调的参数。
[
更多...
](
power.md#powerhdfcallbackcmd
)
|
|
[
PowerHdfState
](
power.md#powerhdfstate
)
{
[AWAKE](power.md#ggadf82dc0e2ae04729ac8fabb3e3d28ecda65e803ac3fb48fa726e326f3c63c2d83)
=
0,
[INACTIVE](power.md#ggadf82dc0e2ae04729ac8fabb3e3d28ecda3ff8ba88da6f8947ab7c22b7825c6bb6),
[SLEEP](power.md#ggadf82dc0e2ae04729ac8fabb3e3d28ecdad6137abebe4fdc59e2f0f2c84bdbe3fa)
} | 枚举电源的状态。
[
更多...
](
power.md#powerhdfstate
)
|
|
[
PowerHdfCmd
](
power.md#powerhdfcmd
)
{
CMD_REGISTER_CALLBCK
=
0,
CMD_START_SUSPEND,
CMD_STOP_SUSPEND,
CMD_FORCE_SUSPEND,
CMD_SUSPEND_BLOCK,
CMD_SUSPEND_UNBLOCK,
CMD_DUMP
} | 枚举电源命令的参数。
[
更多...
](
power.md#powerhdfcmd
)
|
|
[
PowerHdfCallbackCmd
](
power.md#powerhdfcallbackcmd
)
{
CMD_ON_SUSPEND
=
0,
CMD_ON_WAKEUP
} | 枚举电源状态回调的参数。
[
更多...
](
power.md#powerhdfcallbackcmd
)
|
|
[
PowerHdfState
](
power.md#powerhdfstate
)
{
AWAKE
=
0,
INACTIVE,
SLEEP
} | 枚举电源的状态。
[
更多...
](
power.md#powerhdfstate
)
|
### 变量
...
...
zh-cn/device-dev/api/_sensor.md
浏览文件 @
6caf0f7c
...
...
@@ -38,14 +38,14 @@
### 枚举
| 枚举 | 描述 |
| 枚举
名称
| 描述 |
| -------- | -------- |
|
[
SensorStatus
](
#sensorstatus
)
{
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref1744368128083931,link:zh-cn_topic_0000001348293929.xml#ggaa348cf223e558076864814ee88920ceca6fe3474c6df06ef2bd1d3fb84fc57827](#ggaa348cf223e558076864814ee88920ceca6fe3474c6df06ef2bd1d3fb84fc57827)
=
0,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref1335251836083931,link:zh-cn_topic_0000001348293929.xml#ggaa348cf223e558076864814ee88920cecafc02a48cdab506c10ef1c5c66600ae71](#ggaa348cf223e558076864814ee88920cecafc02a48cdab506c10ef1c5c66600ae71)
=
-1,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref1233191896083931,link:zh-cn_topic_0000001348293929.xml#ggaa348cf223e558076864814ee88920cecacbf62f7bd2738d9be4b81e603c4f3bd5](#ggaa348cf223e558076864814ee88920cecacbf62f7bd2738d9be4b81e603c4f3bd5)
=
-2,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref1060174146083931,link:zh-cn_topic_0000001348293929.xml#ggaa348cf223e558076864814ee88920ceca0728f44385b2cb32a5c01e1370e6f2d7](#ggaa348cf223e558076864814ee88920ceca0728f44385b2cb32a5c01e1370e6f2d7)
=
-3,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref1078641707083931,link:zh-cn_topic_0000001348293929.xml#ggaa348cf223e558076864814ee88920cecaeb19761a981ab03ce5144ed0b4c7a48c](#ggaa348cf223e558076864814ee88920cecaeb19761a981ab03ce5144ed0b4c7a48c)
=
-4,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref199916655214,link:#p431372085818](#p431372085818)
=
-5
} | 定义传感器模块返回值类型。
[
更多...
](
#sensorstatus
)
|
|
[
SensorTypeTag
](
#sensortypetag
)
{
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref276196875083931,link:zh-cn_topic_0000001348293929.xml#ggaea6a2a57db175118e08189b73f8f3da5a3f8e3e31e6a356192f150019309925ee](#ggaea6a2a57db175118e08189b73f8f3da5a3f8e3e31e6a356192f150019309925ee)
=
0,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref1251682907083931,link:zh-cn_topic_0000001348293929.xml#ggaea6a2a57db175118e08189b73f8f3da5abd9779b04292b5e8054485b10fccb99c](#ggaea6a2a57db175118e08189b73f8f3da5abd9779b04292b5e8054485b10fccb99c)
=
1,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref952930154083931,link:zh-cn_topic_0000001348293929.xml#ggaea6a2a57db175118e08189b73f8f3da5adc01250dcba5642d294f74ba4d115c28](#ggaea6a2a57db175118e08189b73f8f3da5adc01250dcba5642d294f74ba4d115c28)
=
2,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref472145700083931,link:zh-cn_topic_0000001348293929.xml#ggaea6a2a57db175118e08189b73f8f3da5a93f36cca60373938f2410162b16b531e](#ggaea6a2a57db175118e08189b73f8f3da5a93f36cca60373938f2410162b16b531e)
=
3,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref760459074083931,link:zh-cn_topic_0000001348293929.xml#ggaea6a2a57db175118e08189b73f8f3da5a2d8e52264648743ae154b99eef141607](#ggaea6a2a57db175118e08189b73f8f3da5a2d8e52264648743ae154b99eef141607)
=
4,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref982677450083931,link:zh-cn_topic_0000001348293929.xml#ggaea6a2a57db175118e08189b73f8f3da5a717a301be1664d4cd1ea543ca0653325](#ggaea6a2a57db175118e08189b73f8f3da5a717a301be1664d4cd1ea543ca0653325)
=
5,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref14169199083931,link:zh-cn_topic_0000001348293929.xml#ggaea6a2a57db175118e08189b73f8f3da5a74438e3f4f1f8cb1e97ccebbd1096fe8](#ggaea6a2a57db175118e08189b73f8f3da5a74438e3f4f1f8cb1e97ccebbd1096fe8)
=
6,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref154702882083931,link:zh-cn_topic_0000001348293929.xml#ggaea6a2a57db175118e08189b73f8f3da5a3ed11be057d851a8ee1db6d946b0e69b](#ggaea6a2a57db175118e08189b73f8f3da5a3ed11be057d851a8ee1db6d946b0e69b)
=
7,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref1984772313083931,link:zh-cn_topic_0000001348293929.xml#ggaea6a2a57db175118e08189b73f8f3da5ab9ec86561c555fe323e6a45508e20ca8](#ggaea6a2a57db175118e08189b73f8f3da5ab9ec86561c555fe323e6a45508e20ca8)
=
8,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref1908999646083931,link:zh-cn_topic_0000001348293929.xml#ggaea6a2a57db175118e08189b73f8f3da5a1931d9687ccbd0aac063417fc0d7b4f6](#ggaea6a2a57db175118e08189b73f8f3da5a1931d9687ccbd0aac063417fc0d7b4f6)
=
9,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref2060890795083931,link:zh-cn_topic_0000001348293929.xml#ggaea6a2a57db175118e08189b73f8f3da5a7a343ec270d2bd5b96b4748fb4300665](#ggaea6a2a57db175118e08189b73f8f3da5a7a343ec270d2bd5b96b4748fb4300665)
=
10,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref1014929795083931,link:zh-cn_topic_0000001348293929.xml#ggaea6a2a57db175118e08189b73f8f3da5a875d96bbe6c91eb906e47bbda4250dfe](#ggaea6a2a57db175118e08189b73f8f3da5a875d96bbe6c91eb906e47bbda4250dfe)
=
11,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref1246330281083931,link:zh-cn_topic_0000001348293929.xml#ggaea6a2a57db175118e08189b73f8f3da5a47912cab9ef79bbe4eb20538a88ce59c](#ggaea6a2a57db175118e08189b73f8f3da5a47912cab9ef79bbe4eb20538a88ce59c)
=
12,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref927809977083931,link:zh-cn_topic_0000001348293929.xml#ggaea6a2a57db175118e08189b73f8f3da5a09fbc658c0f86f34e08513ef355870f5](#ggaea6a2a57db175118e08189b73f8f3da5a09fbc658c0f86f34e08513ef355870f5)
=
13,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref80376381083931,link:zh-cn_topic_0000001348293929.xml#ggaea6a2a57db175118e08189b73f8f3da5a5e792e48a4eb7b53561af8e511dba943](#ggaea6a2a57db175118e08189b73f8f3da5a5e792e48a4eb7b53561af8e511dba943)
=
128,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref1670563828083931,link:zh-cn_topic_0000001348293929.xml#ggaea6a2a57db175118e08189b73f8f3da5ad53330afd8a904e115774ffc04f2e89e](#ggaea6a2a57db175118e08189b73f8f3da5ad53330afd8a904e115774ffc04f2e89e)
=
160,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref925483407083931,link:zh-cn_topic_0000001348293929.xml#ggaea6a2a57db175118e08189b73f8f3da5a618cf39cdc6bac1ffe31ba2ad488ca53](#ggaea6a2a57db175118e08189b73f8f3da5a618cf39cdc6bac1ffe31ba2ad488ca53)
=
255,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref1588739202083931,link:zh-cn_topic_0000001348293929.xml#ggaea6a2a57db175118e08189b73f8f3da5af2ccaca19bdabe513c45c058003ed596](#ggaea6a2a57db175118e08189b73f8f3da5af2ccaca19bdabe513c45c058003ed596)
=
256,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref1037316072083931,link:zh-cn_topic_0000001348293929.xml#ggaea6a2a57db175118e08189b73f8f3da5ac7d364262029cc21bc865577d5288a1e](#ggaea6a2a57db175118e08189b73f8f3da5ac7d364262029cc21bc865577d5288a1e)
=
257,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref504051126083931,link:zh-cn_topic_0000001348293929.xml#ggaea6a2a57db175118e08189b73f8f3da5a914a1f090dcc61586318fd4eb4cb1384](#ggaea6a2a57db175118e08189b73f8f3da5a914a1f090dcc61586318fd4eb4cb1384)
=
258,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref1823576696083931,link:zh-cn_topic_0000001348293929.xml#ggaea6a2a57db175118e08189b73f8f3da5ac407aca03c7ce72ea55e52f40477561b](#ggaea6a2a57db175118e08189b73f8f3da5ac407aca03c7ce72ea55e52f40477561b)
=
259,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref542704221083931,link:zh-cn_topic_0000001348293929.xml#ggaea6a2a57db175118e08189b73f8f3da5a7d9456395f361833de2ee3ef12a1af2a](#ggaea6a2a57db175118e08189b73f8f3da5a7d9456395f361833de2ee3ef12a1af2a)
=
260,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref1403111115083931,link:zh-cn_topic_0000001348293929.xml#ggaea6a2a57db175118e08189b73f8f3da5a492db205ab694c3954f4b46fa6a999af](#ggaea6a2a57db175118e08189b73f8f3da5a492db205ab694c3954f4b46fa6a999af)
=
261,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref1386678478083931,link:zh-cn_topic_0000001348293929.xml#ggaea6a2a57db175118e08189b73f8f3da5af8302206e90774d69fb272ee50e6607b](#ggaea6a2a57db175118e08189b73f8f3da5af8302206e90774d69fb272ee50e6607b)
=
262,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref219154468083931,link:zh-cn_topic_0000001348293929.xml#ggaea6a2a57db175118e08189b73f8f3da5ad123a39ee0525c760755a4b40e5dc638](#ggaea6a2a57db175118e08189b73f8f3da5ad123a39ee0525c760755a4b40e5dc638)
=
263,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref1498541716083931,link:zh-cn_topic_0000001348293929.xml#ggaea6a2a57db175118e08189b73f8f3da5a3a4ce3aad51d07a5475c3fb1de90ec80](#ggaea6a2a57db175118e08189b73f8f3da5a3a4ce3aad51d07a5475c3fb1de90ec80)
=
264,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref293505469083931,link:zh-cn_topic_0000001348293929.xml#ggaea6a2a57db175118e08189b73f8f3da5a443b13dc20beadc7821db8df7682cd58](#ggaea6a2a57db175118e08189b73f8f3da5a443b13dc20beadc7821db8df7682cd58)
=
265,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref1947880315083931,link:zh-cn_topic_0000001348293929.xml#ggaea6a2a57db175118e08189b73f8f3da5a0cef311260d7668885a937ee1ee8d5d8](#ggaea6a2a57db175118e08189b73f8f3da5a0cef311260d7668885a937ee1ee8d5d8)
=
266,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref717567083083931,link:zh-cn_topic_0000001348293929.xml#ggaea6a2a57db175118e08189b73f8f3da5a80a8adf73ab45b0eaaeb24fa3c5351f0](#ggaea6a2a57db175118e08189b73f8f3da5a80a8adf73ab45b0eaaeb24fa3c5351f0)
=
277,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref494571919083931,link:zh-cn_topic_0000001348293929.xml#ggaea6a2a57db175118e08189b73f8f3da5a4d4febf14d8366d19661d7b1acb5ff91](#ggaea6a2a57db175118e08189b73f8f3da5a4d4febf14d8366d19661d7b1acb5ff91)
=
278,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref1305798719083931,link:zh-cn_topic_0000001348293929.xml#ggaea6a2a57db175118e08189b73f8f3da5a23a60d20eeedd90de69b27ffa4a764ac](#ggaea6a2a57db175118e08189b73f8f3da5a23a60d20eeedd90de69b27ffa4a764ac)
=
279,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref592082955083931,link:zh-cn_topic_0000001348293929.xml#ggaea6a2a57db175118e08189b73f8f3da5a0ca37fde34accc45f3065c635480a718](#ggaea6a2a57db175118e08189b73f8f3da5a0ca37fde34accc45f3065c635480a718)
=
280,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref1215860865083931,link:zh-cn_topic_0000001348293929.xml#ggaea6a2a57db175118e08189b73f8f3da5a730bd9013ab8fea3bbfae66f4c6a6129](#ggaea6a2a57db175118e08189b73f8f3da5a730bd9013ab8fea3bbfae66f4c6a6129)
=
281,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref4210134214532,link:#p876144152111](#p876144152111)
} | 定义传感器类型标识。
[
更多...
](
#sensortypetag
)
|
|
[
SensorAccuracyType
](
#sensoraccuracytype
)
{
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref885806585083931,link:zh-cn_topic_0000001348293929.xml#gga985dcd359f32f3cdfbaecb98f1f436e7a1f1bc8e9ccbc83cb0cb107a795fd85f7](#gga985dcd359f32f3cdfbaecb98f1f436e7a1f1bc8e9ccbc83cb0cb107a795fd85f7)
=
0,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref687798640083931,link:zh-cn_topic_0000001348293929.xml#gga985dcd359f32f3cdfbaecb98f1f436e7a6c2ad64f15e8d0ba24f8b573bc0f19ed](#gga985dcd359f32f3cdfbaecb98f1f436e7a6c2ad64f15e8d0ba24f8b573bc0f19ed)
=
1,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref1802973734083931,link:zh-cn_topic_0000001348293929.xml#gga985dcd359f32f3cdfbaecb98f1f436e7a9083140f63420c7b109c5ae8f009a8dd](#gga985dcd359f32f3cdfbaecb98f1f436e7a9083140f63420c7b109c5ae8f009a8dd)
=
2,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref1858007843083931,link:zh-cn_topic_0000001348293929.xml#gga985dcd359f32f3cdfbaecb98f1f436e7a8a8e8f15654a31f9df91bb0561f55574](#gga985dcd359f32f3cdfbaecb98f1f436e7a8a8e8f15654a31f9df91bb0561f55574)
=
3,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref91811716205513,link:#p945419536162](#p945419536162)
} | 传感器的精度类型。
[
更多...
](
#sensoraccuracytype
)
|
|
[
SensorRangeType
](
#sensorrangetype
)
{
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref948776572083931,link:zh-cn_topic_0000001348293929.xml#gga4b389f271110480ce20fcc0763cf6d20a8b81d07987b7a203ef04579c60c07986](#gga4b389f271110480ce20fcc0763cf6d20a8b81d07987b7a203ef04579c60c07986)
=
0,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref399481110083931,link:zh-cn_topic_0000001348293929.xml#gga4b389f271110480ce20fcc0763cf6d20a39dd36b72a88ef8bdccdddc9225e21a1](#gga4b389f271110480ce20fcc0763cf6d20a39dd36b72a88ef8bdccdddc9225e21a1)
=
1,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref811186551083931,link:zh-cn_topic_0000001348293929.xml#gga4b389f271110480ce20fcc0763cf6d20a7fee94e695411165b4e1f7b75ce5d52e](#gga4b389f271110480ce20fcc0763cf6d20a7fee94e695411165b4e1f7b75ce5d52e)
=
2,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref66771827105514,link:#p165901247205](#p165901247205)
} | 传感器的量程级别。
[
更多...
](
#sensorrangetype
)
|
|
[
SensorModeType
](
#sensormodetype
)
{
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref357904618083931,link:zh-cn_topic_0000001348293929.xml#gga066f4ffeb31a1f4cb3ed357736e0afabae36be092f02cd01eb5bf1c8ae23af73d](#gga066f4ffeb31a1f4cb3ed357736e0afabae36be092f02cd01eb5bf1c8ae23af73d)
=
0,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref858811297083931,link:zh-cn_topic_0000001348293929.xml#gga066f4ffeb31a1f4cb3ed357736e0afaba5db5e8c1a702aca7ecc751532ecfa69d](#gga066f4ffeb31a1f4cb3ed357736e0afaba5db5e8c1a702aca7ecc751532ecfa69d)
=
1,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref1003544038083931,link:zh-cn_topic_0000001348293929.xml#gga066f4ffeb31a1f4cb3ed357736e0afaba9d264027423bdee89167c3c8f4c71322](#gga066f4ffeb31a1f4cb3ed357736e0afaba9d264027423bdee89167c3c8f4c71322)
=
2,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref1343791083931,link:zh-cn_topic_0000001348293929.xml#gga066f4ffeb31a1f4cb3ed357736e0afabac0967e6c4ef5004fda5f26f061fec6ee](#gga066f4ffeb31a1f4cb3ed357736e0afabac0967e6c4ef5004fda5f26f061fec6ee)
=
3,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref751754462083931,link:zh-cn_topic_0000001348293929.xml#gga066f4ffeb31a1f4cb3ed357736e0afaba3f4f9b49ae7fe1fb89cd3bff398c7f0f](#gga066f4ffeb31a1f4cb3ed357736e0afaba3f4f9b49ae7fe1fb89cd3bff398c7f0f)
=
4,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref14351915611,link:#p4932820101810](#p4932820101810)
} | 传感器的工作模式。
[
更多...
](
#sensormodetype
)
|
|
[
SensorGroupType
](
#sensorgrouptype
)
{
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref1746000080083931,link:zh-cn_topic_0000001348293929.xml#gga588325c4c22f56d09cda6e54df0d9a6ca8cc091715416b86fd2eff0a875a76c64](#gga588325c4c22f56d09cda6e54df0d9a6ca8cc091715416b86fd2eff0a875a76c64)
=
0,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref2030071987083931,link:zh-cn_topic_0000001348293929.xml#gga588325c4c22f56d09cda6e54df0d9a6cab8f846ffbc84b2a2275a88707f350a47](#gga588325c4c22f56d09cda6e54df0d9a6cab8f846ffbc84b2a2275a88707f350a47)
=
1,
[ERROR:Invalid
link:zh-cn_topic_0000001348293929.xml#xref1096312121083931,link:zh-cn_topic_0000001348293929.xml#gga588325c4c22f56d09cda6e54df0d9a6cafdec26032d6c10626eb07a0812fe1d94](#gga588325c4c22f56d09cda6e54df0d9a6cafdec26032d6c10626eb07a0812fe1d94)
} | 枚举传感器的硬件服务组。
[
更多...
](
#sensorgrouptype
)
|
|
[
SensorStatus
](
#sensorstatus
)
{
SENSOR_SUCCESS
=
0,
SENSOR_FAILURE
=
-1,
SENSOR_NOT_SUPPORT
=
-2,
SENSOR_INVALID_PARAM
=
-3,
SENSOR_INVALID_SERVICE
=
-4,
SENSOR_NULL_PTR
=
-5
} | 定义传感器模块返回值类型。
[
更多...
](
#sensorstatus
)
|
|
[
SensorTypeTag
](
#sensortypetag
)
{
SENSOR_TYPE_NONE
=
0,
SENSOR_TYPE_ACCELEROMETER
=
1,
SENSOR_TYPE_GYROSCOPE
=
2,
SENSOR_TYPE_PHOTOPLETHYSMOGRAPH
=
3,
SENSOR_TYPE_ELECTROCARDIOGRAPH
=
4,
SENSOR_TYPE_AMBIENT_LIGHT
=
5,
SENSOR_TYPE_MAGNETIC_FIELD
=
6,
SENSOR_TYPE_CAPACITIVE
=
7,
SENSOR_TYPE_BAROMETER
=
8,
SENSOR_TYPE_TEMPERATURE
=
9,
SENSOR_TYPE_HALL
=
10,
SENSOR_TYPE_GESTURE
=
11,
SENSOR_TYPE_PROXIMITY
=
12,
SENSOR_TYPE_HUMIDITY
=
13,
SENSOR_TYPE_MEDICAL_BEGIN
=
128,
SENSOR_TYPE_MEDICAL_END
=
160,
SENSOR_TYPE_PHYSICAL_MAX
=
255,
SENSOR_TYPE_ORIENTATION
=
256,
SENSOR_TYPE_GRAVITY
=
257,
SENSOR_TYPE_LINEAR_ACCELERATION
=
258,
SENSOR_TYPE_ROTATION_VECTOR
=
259,
SENSOR_TYPE_AMBIENT_TEMPERATURE
=
260,
SENSOR_TYPE_MAGNETIC_FIELD_UNCALIBRATED
=
261,
SENSOR_TYPE_GAME_ROTATION_VECTOR
=
262,
SENSOR_TYPE_GYROSCOPE_UNCALIBRATED
=
263,
SENSOR_TYPE_SIGNIFICANT_MOTION
=
264,
SENSOR_TYPE_PEDOMETER_DETECTION
=
265,
SENSOR_TYPE_PEDOMETER
=
266,
SENSOR_TYPE_GEOMAGNETIC_ROTATION_VECTOR
=
277,
SENSOR_TYPE_HEART_RATE
=
278,
SENSOR_TYPE_DEVICE_ORIENTATION
=
279,
SENSOR_TYPE_WEAR_DETECTION
=
280,
SENSOR_TYPE_ACCELEROMETER_UNCALIBRATED
=
281,
SENSOR_TYPE_MAX
} | 定义传感器类型标识。
[
更多...
](
#sensortypetag
)
|
|
[
SensorAccuracyType
](
#sensoraccuracytype
)
{
SENSOR_NO_ACCURACY
=
0,
SENSOR_LOW_ACCURACY
=
1,
SENSOR_MEDIUM_ACCURACY
=
2,
SENSOR_HIGH_ACCURACY
=
3,
SENSOR_MAX_ACCURACY
} | 传感器的精度类型。
[
更多...
](
#sensoraccuracytype
)
|
|
[
SensorRangeType
](
#sensorrangetype
)
{
SENSOR_RANGE_LEVEL1
=
0,
SENSOR_RANGE_LEVEL2
=
1,
SENSOR_RANGE_LEVEL3
=
2,
SENSOR_RANGE_LEVEL_MAX
} | 传感器的量程级别。
[
更多...
](
#sensorrangetype
)
|
|
[
SensorModeType
](
#sensormodetype
)
{
SENSOR_MODE_DEFAULT
=
0,
SENSOR_MODE_REALTIME
=
1,
SENSOR_MODE_ON_CHANGE
=
2,
SENSOR_MODE_ONE_SHOT
=
3,
SENSOR_MODE_FIFO_MODE
=
4,
SENSOR_MODE_MAX
} | 传感器的工作模式。
[
更多...
](
#sensormodetype
)
|
|
[
SensorGroupType
](
#sensorgrouptype
)
{
TRADITIONAL_SENSOR_TYPE
=
0,
MEDICAL_SENSOR_TYPE
=
1,
SENSOR_GROUP_TYPE_MAX
} | 枚举传感器的硬件服务组。
[
更多...
](
#sensorgrouptype
)
|
### 函数
...
...
zh-cn/device-dev/api/_types_8idl.md
浏览文件 @
6caf0f7c
...
...
@@ -20,11 +20,11 @@
### 枚举
| 枚举 | 描述 |
| 枚举
名称
| 描述 |
| -------- | -------- |
|
[
BatteryHealthState
](
battery.md#batteryhealthstate
)
{
[BATTERY_HEALTH_UNKNOWN](battery.md#ggaec9b86ee31a5d8abf7c804d81b542f2fa383fc8bba89eb9195e07da10ebff6a6a)
=
0,
[BATTERY_HEALTH_GOOD](battery.md#ggaec9b86ee31a5d8abf7c804d81b542f2fa9019a1cab9aaffb56b968f846eae45c2),
[BATTERY_HEALTH_OVERHEAT](battery.md#ggaec9b86ee31a5d8abf7c804d81b542f2fa34cb203c04d3f8b391fd0f193673d2cc),
[BATTERY_HEALTH_OVERVOLTAGE](battery.md#ggaec9b86ee31a5d8abf7c804d81b542f2faeb20e3755faa28a34b37c20fce37672f),
[BATTERY_HEALTH_COLD](battery.md#ggaec9b86ee31a5d8abf7c804d81b542f2fa1ed5e419d57b9ff71ac397d1b17eb420),
[BATTERY_HEALTH_DEAD](battery.md#ggaec9b86ee31a5d8abf7c804d81b542f2fa05f1241d31443ffefec7ac784e141341),
[BATTERY_HEALTH_RESERVED](battery.md#ggaec9b86ee31a5d8abf7c804d81b542f2fa9583572172c946660b255d5ac3604f9b)
} | 电池的健康状态。
[
更多...
](
battery.md#batteryhealthstate
)
|
|
[
BatteryChargeState
](
battery.md#batterychargestate
)
{
[CHARGE_STATE_NONE](battery.md#gga35791cca3603f7855c6368fbd00b21f1afdc91bf6bc92fdcd784cb274b1a14d28)
=
0,
[CHARGE_STATE_ENABLE](battery.md#gga35791cca3603f7855c6368fbd00b21f1a03dc57c4f65da6b1472ae4f7ed676234),
[CHARGE_STATE_DISABLE](battery.md#gga35791cca3603f7855c6368fbd00b21f1a33914f4c27c801d3ba5315ca486655cc),
[CHARGE_STATE_FULL](battery.md#gga35791cca3603f7855c6368fbd00b21f1a70b48a2925871d0364ae6344bce944ae),
[CHARGE_STATE_RESERVED](battery.md#gga35791cca3603f7855c6368fbd00b21f1a38af1f4d697139ebaa8eb97fb5b34120)
} | 电池的充电状态。
[
更多...
](
battery.md#batterychargestate
)
|
|
[
BatteryPluggedType
](
battery.md#batterypluggedtype
)
{
[PLUGGED_TYPE_NONE](battery.md#ggab80029eabf9d0fdcc3ab4d4a4c3be6baa23f13d9ed048300c42930d844ead29c7)
=
0,
[PLUGGED_TYPE_AC](battery.md#ggab80029eabf9d0fdcc3ab4d4a4c3be6baaba143c5ab6146a49e3c1362d3ba38751),
[PLUGGED_TYPE_USB](battery.md#ggab80029eabf9d0fdcc3ab4d4a4c3be6baacfe481a50e9915a049edd3debcc7de1c),
[PLUGGED_TYPE_WIRELESS](battery.md#ggab80029eabf9d0fdcc3ab4d4a4c3be6baaa8b900a0327e60b02ad7d3501057be38),
[PLUGGED_TYPE_BUTT](battery.md#ggab80029eabf9d0fdcc3ab4d4a4c3be6baac85bb1a7b26e14b55cd9bb977c3e66c0)
} | 电池的充电设备类型。
[
更多...
](
battery.md#batterypluggedtype
)
|
|
[
BatteryHealthState
](
battery.md#batteryhealthstate
)
{
BATTERY_HEALTH_UNKNOWN
=
0,
BATTERY_HEALTH_GOOD,
BATTERY_HEALTH_OVERHEAT,
BATTERY_HEALTH_OVERVOLTAGE,
BATTERY_HEALTH_COLD,
BATTERY_HEALTH_DEAD,
BATTERY_HEALTH_RESERVED
} | 电池的健康状态。
[
更多...
](
battery.md#batteryhealthstate
)
|
|
[
BatteryChargeState
](
battery.md#batterychargestate
)
{
CHARGE_STATE_NONE
=
0,
CHARGE_STATE_ENABLE,
CHARGE_STATE_DISABLE,
CHARGE_STATE_FULL,
CHARGE_STATE_RESERVED
} | 电池的充电状态。
[
更多...
](
battery.md#batterychargestate
)
|
|
[
BatteryPluggedType
](
battery.md#batterypluggedtype
)
{
PLUGGED_TYPE_NONE
=
0,
PLUGGED_TYPE_AC,
PLUGGED_TYPE_USB,
PLUGGED_TYPE_WIRELESS,
PLUGGED_TYPE_BUTT
} | 电池的充电设备类型。
[
更多...
](
battery.md#batterypluggedtype
)
|
### 变量
...
...
zh-cn/device-dev/api/_u_s_b.md
浏览文件 @
6caf0f7c
...
...
@@ -43,10 +43,10 @@
### 枚举
| 枚举 | 描述 |
| 枚举
名称
| 描述 |
| -------- | -------- |
|
[
UsbdBulkCbCmd
](
#usbdbulkcbcmd
)
{
[ERROR:Invalid
link:zh-cn_topic_0000001348413461.xml#xref1485062147083931,link:zh-cn_topic_0000001348413461.xml#gga734dda3df39a921fae88ada278bf35a3a5f84dff517954bbde58a2e1a0b8e8da6](#gga734dda3df39a921fae88ada278bf35a3a5f84dff517954bbde58a2e1a0b8e8da6),
[ERROR:Invalid
link:zh-cn_topic_0000001348413461.xml#xref1983135169083931,link:zh-cn_topic_0000001348413461.xml#gga734dda3df39a921fae88ada278bf35a3ac7fc2d22d4d348c672003c308263b9fb](#gga734dda3df39a921fae88ada278bf35a3ac7fc2d22d4d348c672003c308263b9fb)
} | 批量回调命令字。
[
更多...
](
#usbdbulkcbcmd
)
|
|
[
UsbdDeviceAction
](
#usbddeviceaction
)
{
[ERROR:Invalid
link:zh-cn_topic_0000001348413461.xml#xref709354729083931,link:zh-cn_topic_0000001348413461.xml#gga4b7620d940f58152cd17a12401120c16af3ed12ba6838a4ebb16ae0713cb2324f](#gga4b7620d940f58152cd17a12401120c16af3ed12ba6838a4ebb16ae0713cb2324f)
=
0,
[ERROR:Invalid
link:zh-cn_topic_0000001348413461.xml#xref601390832083931,link:zh-cn_topic_0000001348413461.xml#gga4b7620d940f58152cd17a12401120c16a97801ad0ac063dbb69d698adc19159bf](#gga4b7620d940f58152cd17a12401120c16a97801ad0ac063dbb69d698adc19159bf),
[ERROR:Invalid
link:zh-cn_topic_0000001348413461.xml#xref1423061468083931,link:zh-cn_topic_0000001348413461.xml#gga4b7620d940f58152cd17a12401120c16aecf16e36110fbe276f2a11e91252de20](#gga4b7620d940f58152cd17a12401120c16aecf16e36110fbe276f2a11e91252de20),
[ERROR:Invalid
link:zh-cn_topic_0000001348413461.xml#xref273156642083931,link:zh-cn_topic_0000001348413461.xml#gga4b7620d940f58152cd17a12401120c16a45115ba5d58e4a5358acae70a9fc33d4](#gga4b7620d940f58152cd17a12401120c16a45115ba5d58e4a5358acae70a9fc33d4)
} | 主机端和设备端插拔事件。
[
更多...
](
#usbddeviceaction
)
|
|
[
UsbdBulkCbCmd
](
#usbdbulkcbcmd
)
{
CMD_USBD_BULK_CALLBACK_READ,
CMD_USBD_BULK_CALLBACK_WRITE
} | 批量回调命令字。
[
更多...
](
#usbdbulkcbcmd
)
|
|
[
UsbdDeviceAction
](
#usbddeviceaction
)
{
ACT_DEVUP
=
0,
ACT_DEVDOWN,
ACT_UPDEVICE,
ACT_DOWNDEVICE
} | 主机端和设备端插拔事件。
[
更多...
](
#usbddeviceaction
)
|
### 函数
...
...
zh-cn/device-dev/api/_user_auth_types_8idl.md
浏览文件 @
6caf0f7c
...
...
@@ -31,9 +31,9 @@
| 枚举 | 描述 |
| -------- | -------- |
|
[
AuthType
](
_hdf_user_auth.md#authtype
)
:
int
{
[PIN](_hdf_user_auth.md#gga89fed1f0b2adadc0ab678c1c6b9570a1a048efb7462d3f8cced82716c66926168)
=
1,
[FACE](_hdf_user_auth.md#gga89fed1f0b2adadc0ab678c1c6b9570a1a5cfae78048cf95359061c2e812e7d691)
=
2,
[FINGERPRINT](_hdf_user_auth.md#gga89fed1f0b2adadc0ab678c1c6b9570a1ad03eae85b35bf9bc22d787c8913b795a)
=
4,
[ALL](_hdf_user_auth.md#gga89fed1f0b2adadc0ab678c1c6b9570a1ab1d5eac4b1dca480c8056eaea7663b7a)
=
0
} | 枚举用户认证凭据类型。
[
更多...
](
_hdf_user_auth.md#authtype
)
|
|
[
ExecutorRole
](
_hdf_user_auth.md#executorrole
)
:
int
{
[COLLECTOR](_hdf_user_auth.md#ggaef26ea73ebd494278e243c53b41ea7e5a539c54e76bcc96cddb85f0cabcff39ec)
=
1,
[VERIFIER](_hdf_user_auth.md#ggaef26ea73ebd494278e243c53b41ea7e5a1286a5d974d0c68d7bc43ffc0576a6d4)
=
2,
[ALL_IN_ONE](_hdf_user_auth.md#ggaef26ea73ebd494278e243c53b41ea7e5a7eebd77a403f81c5968b4c2898ee6fd4)
=
3
} | 枚举执行器角色。
[
更多...
](
_hdf_user_auth.md#executorrole
)
|
|
[
ExecutorSecureLevel
](
_hdf_user_auth.md#executorsecurelevel
)
:
int
{
[ESL0](_hdf_user_auth.md#gga955c57d8720719916dd806106356fa0fa0cd05a2adda94d3c676fca84f96c0638)
=
0,
[ESL1](_hdf_user_auth.md#gga955c57d8720719916dd806106356fa0fae6a34bbf2764541238bf81569faf29d3)
=
1,
[ESL2](_hdf_user_auth.md#gga955c57d8720719916dd806106356fa0fa8f898bca57625d548a011ba2aaf4285f)
=
2,
[ESL3](_hdf_user_auth.md#gga955c57d8720719916dd806106356fa0fa9a6fb8a4530b6a09dba2fbfdf2e6c2e9)
=
3
} | 枚举执行器安全等级。
[
更多...
](
_hdf_user_auth.md#executorsecurelevel
)
|
|
[
AuthType
](
_hdf_user_auth.md#authtype
)
:
int
{
PIN
=
1,
FACE
=
2,
FINGERPRINT
=
4,
ALL
=
0
} | 枚举用户认证凭据类型。
[
更多...
](
_hdf_user_auth.md#authtype
)
|
|
[
ExecutorRole
](
_hdf_user_auth.md#executorrole
)
:
int
{
COLLECTOR
=
1,
VERIFIER
=
2,
ALL_IN_ONE
=
3
} | 枚举执行器角色。
[
更多...
](
_hdf_user_auth.md#executorrole
)
|
|
[
ExecutorSecureLevel
](
_hdf_user_auth.md#executorsecurelevel
)
:
int
{
ESL0
=
0,
ESL1
=
1,
ESL2
=
2,
ESL3
=
3
} | 枚举执行器安全等级。
[
更多...
](
_hdf_user_auth.md#executorsecurelevel
)
|
### 变量
...
...
zh-cn/device-dev/api/_vibrator.md
浏览文件 @
6caf0f7c
...
...
@@ -21,11 +21,11 @@
### 枚举
| 枚举 | 描述 |
| 枚举
名称
| 描述 |
| -------- | -------- |
|
[
VibratorMode
](
#vibratormode
)
{
[ERROR:Invalid
link:zh-cn_topic_0000001295254332.xml#xref345548910083931,link:zh-cn_topic_0000001295254332.xml#ggadbbc422555ccc89c4d9cf80f5175af2fa5da1f5dd1752e8ef6b8ade59db31f80f](#ggadbbc422555ccc89c4d9cf80f5175af2fa5da1f5dd1752e8ef6b8ade59db31f80f)
=
0,
[ERROR:Invalid
link:zh-cn_topic_0000001295254332.xml#xref2104752933083931,link:zh-cn_topic_0000001295254332.xml#ggadbbc422555ccc89c4d9cf80f5175af2fa34c456f3c8038b601c4a0276f639f666](#ggadbbc422555ccc89c4d9cf80f5175af2fa34c456f3c8038b601c4a0276f639f666)
=
1,
[ERROR:Invalid
link:zh-cn_topic_0000001295254332.xml#xref1052158260083931,link:zh-cn_topic_0000001295254332.xml#ggadbbc422555ccc89c4d9cf80f5175af2faa548af2d7414a81a8036e77b9bcd6606](#ggadbbc422555ccc89c4d9cf80f5175af2faa548af2d7414a81a8036e77b9bcd6606)
} | 枚举马达振动模式。
[
更多...
](
#vibratormode
)
|
|
[
VibratorStatus
](
#vibratorstatus
)
{
[ERROR:Invalid
link:zh-cn_topic_0000001295254332.xml#xref5450017161315,link:#p181591120650](#p181591120650)
=
0,
[ERROR:Invalid
link:zh-cn_topic_0000001295254332.xml#xref051613315133,link:#p515914207520](#p515914207520)
=
-1,
[ERROR:Invalid
link:zh-cn_topic_0000001295254332.xml#xref2512150161418,link:#p015972013512](#p015972013512)
=
-2,
[ERROR:Invalid
link:zh-cn_topic_0000001295254332.xml#xref11358630181410,link:#p14260156580](#p14260156580)
=
-3} | 枚举马达振动模式。
[
更多...
](
#vibratorstatus
)
|
|
[
VibratorInfo
](
#vibratorinfo
)
{
[ERROR:Invalid
link:zh-cn_topic_0000001295254332.xml#xref2475651914,link:#p16982125191511](#p16982125191511),
[ERROR:Invalid
link:zh-cn_topic_0000001295254332.xml#xref477718919205,link:#p79831625101517](#p79831625101517),
[ERROR:Invalid
link:zh-cn_topic_0000001295254332.xml#xref8162413102010,link:#p1798317259153](#p1798317259153),
[ERROR:Invalid
link:zh-cn_topic_0000001295254332.xml#xref15221157205,link:#p196672031811](#p196672031811),
[ERROR:Invalid
link:zh-cn_topic_0000001295254332.xml#xref51801717132019,link:#p14421742189](#p14421742189),
[ERROR:Invalid
link:zh-cn_topic_0000001295254332.xml#xref99362189209,link:#p61323771819](#p61323771819)
} | 定义马达参数。
[
更多...
](
#vibratorinfo
)
|
|
[
VibratorMode
](
#vibratormode
)
{
VIBRATOR_MODE_ONCE
=
0,
VIBRATOR_MODE_PRESET
=
1,
VIBRATOR_MODE_BUTT
} | 枚举马达振动模式。
[
更多...
](
#vibratormode
)
|
|
[
VibratorStatus
](
#vibratorstatus
)
{
VIBRATOR_SUCCESS
=
0,
VIBRATOR_NOT_PERIOD
=
-1,
VIBRATOR_NOT_INTENSITY
=
-2,
VIBRATOR_NOT_FREQUENCY
=
-3} | 枚举马达振动模式。
[
更多...
](
#vibratorstatus
)
|
|
[
VibratorInfo
](
#vibratorinfo
)
{
isSupportIntensity,
isSupportFrequency,
intensityMaxValue,
intensityMinValue,
frequencyMaxValue,
frequencyMinValue
} | 定义马达参数。
[
更多...
](
#vibratorinfo
)
|
### 函数
...
...
zh-cn/device-dev/api/_w_l_a_n.md
浏览文件 @
6caf0f7c
...
...
@@ -45,7 +45,7 @@
| 枚举 | 描述 |
| -------- | -------- |
|
[
FeatureType
](
#featuretype
)
{
[ERROR:Invalid
link:zh-cn_topic_0000001295573780.xml#xref2005757439083931,link:zh-cn_topic_0000001295573780.xml#ggad2b28a6ade408676d1371ea941824012a6b209b916aabd18f2a950a82e68b6a4c](#ggad2b28a6ade408676d1371ea941824012a6b209b916aabd18f2a950a82e68b6a4c),
[ERROR:Invalid
link:zh-cn_topic_0000001295573780.xml#xref356941748083931,link:zh-cn_topic_0000001295573780.xml#ggad2b28a6ade408676d1371ea941824012a0926a98ddc2ceec4ba58ebfc01c5fe35](#ggad2b28a6ade408676d1371ea941824012a0926a98ddc2ceec4ba58ebfc01c5fe35),
[ERROR:Invalid
link:zh-cn_topic_0000001295573780.xml#xref2034104077083931,link:zh-cn_topic_0000001295573780.xml#ggad2b28a6ade408676d1371ea941824012acd26f8cefbd658e9ea02feecefd054fb](#ggad2b28a6ade408676d1371ea941824012acd26f8cefbd658e9ea02feecefd054fb),
[ERROR:Invalid
link:zh-cn_topic_0000001295573780.xml#xref1210444972083931,link:zh-cn_topic_0000001295573780.xml#ggad2b28a6ade408676d1371ea941824012a9e92654b9ab6ed6eb62868f1e0e4ea8f](#ggad2b28a6ade408676d1371ea941824012a9e92654b9ab6ed6eb62868f1e0e4ea8f),
[ERROR:Invalid
link:zh-cn_topic_0000001295573780.xml#xref85888507083931,link:zh-cn_topic_0000001295573780.xml#ggad2b28a6ade408676d1371ea941824012a991ad1a3f8c43b06c4eeb9dc88acdb1e](#ggad2b28a6ade408676d1371ea941824012a991ad1a3f8c43b06c4eeb9dc88acdb1e),
[ERROR:Invalid
link:zh-cn_topic_0000001295573780.xml#xref2011035674083931,link:zh-cn_topic_0000001295573780.xml#ggad2b28a6ade408676d1371ea941824012aa25631c32cd6c996a7c96ba4f61299e2](#ggad2b28a6ade408676d1371ea941824012aa25631c32cd6c996a7c96ba4f61299e2),
[ERROR:Invalid
link:zh-cn_topic_0000001295573780.xml#xref1547927522083931,link:zh-cn_topic_0000001295573780.xml#ggad2b28a6ade408676d1371ea941824012a3ff1c1358af5a0c50b64e0ef0e96a970](#ggad2b28a6ade408676d1371ea941824012a3ff1c1358af5a0c50b64e0ef0e96a970),
[ERROR:Invalid
link:zh-cn_topic_0000001295573780.xml#xref959999069083931,link:zh-cn_topic_0000001295573780.xml#ggad2b28a6ade408676d1371ea941824012a382756b8a71015cd536cdbc113c4f483](#ggad2b28a6ade408676d1371ea941824012a382756b8a71015cd536cdbc113c4f483),
[ERROR:Invalid
link:zh-cn_topic_0000001295573780.xml#xref769421272083931,link:zh-cn_topic_0000001295573780.xml#ggad2b28a6ade408676d1371ea941824012acfd81d6e484c6f7a3b863327af112cfc](#ggad2b28a6ade408676d1371ea941824012acfd81d6e484c6f7a3b863327af112cfc),
[ERROR:Invalid
link:zh-cn_topic_0000001295573780.xml#xref2012633117083931,link:zh-cn_topic_0000001295573780.xml#ggad2b28a6ade408676d1371ea941824012abca0ccb5cf4c14af9b6ff0bd9eeb4173](#ggad2b28a6ade408676d1371ea941824012abca0ccb5cf4c14af9b6ff0bd9eeb4173),
[ERROR:Invalid
link:zh-cn_topic_0000001295573780.xml#xref1649808399083931,link:zh-cn_topic_0000001295573780.xml#ggad2b28a6ade408676d1371ea941824012ad63ad4a5a66892e842e4d75cc82b0755](#ggad2b28a6ade408676d1371ea941824012ad63ad4a5a66892e842e4d75cc82b0755),
[ERROR:Invalid
link:zh-cn_topic_0000001295573780.xml#xref2156186164917,link:#p3611518433](#p3611518433)
} | 枚举WLAN相关特性的类型
[
FeatureType
](
#featuretype
)
。
[
更多...
](
#featuretype
)
|
|
[
FeatureType
](
#featuretype
)
{
PROTOCOL_80211_IFTYPE_UNSPECIFIED,
PROTOCOL_80211_IFTYPE_ADHOC,
PROTOCOL_80211_IFTYPE_STATION,
PROTOCOL_80211_IFTYPE_AP,
PROTOCOL_80211_IFTYPE_AP_VLAN,
PROTOCOL_80211_IFTYPE_WDS,
PROTOCOL_80211_IFTYPE_MONITOR,
PROTOCOL_80211_IFTYPE_MESH_POINT,
PROTOCOL_80211_IFTYPE_P2P_CLIENT,
PROTOCOL_80211_IFTYPE_P2P_GO,
PROTOCOL_80211_IFTYPE_P2P_DEVICE,
PROTOCOL_80211_IFTYPE_NUM
} | 枚举WLAN相关特性的类型
[
FeatureType
](
#featuretype
)
。
[
更多...
](
#featuretype
)
|
### 函数
...
...
zh-cn/device-dev/api/audio__types_8h.md
浏览文件 @
6caf0f7c
此差异已折叠。
点击以展开。
zh-cn/device-dev/api/battery.md
浏览文件 @
6caf0f7c
...
...
@@ -24,11 +24,11 @@
### 枚举
| 枚举 | 描述 |
| 枚举
名称
| 描述 |
| -------- | -------- |
|
[
BatteryHealthState
](
#batteryhealthstate
)
{
[ERROR:Invalid
link:zh-cn_topic_0000001295094372.xml#xref722934690083931,link:zh-cn_topic_0000001295094372.xml#ggaec9b86ee31a5d8abf7c804d81b542f2fa383fc8bba89eb9195e07da10ebff6a6a](#ggaec9b86ee31a5d8abf7c804d81b542f2fa383fc8bba89eb9195e07da10ebff6a6a)
=
0,
[ERROR:Invalid
link:zh-cn_topic_0000001295094372.xml#xref1559010308083931,link:zh-cn_topic_0000001295094372.xml#ggaec9b86ee31a5d8abf7c804d81b542f2fa9019a1cab9aaffb56b968f846eae45c2](#ggaec9b86ee31a5d8abf7c804d81b542f2fa9019a1cab9aaffb56b968f846eae45c2),
[ERROR:Invalid
link:zh-cn_topic_0000001295094372.xml#xref255658891083931,link:zh-cn_topic_0000001295094372.xml#ggaec9b86ee31a5d8abf7c804d81b542f2fa34cb203c04d3f8b391fd0f193673d2cc](#ggaec9b86ee31a5d8abf7c804d81b542f2fa34cb203c04d3f8b391fd0f193673d2cc),
[ERROR:Invalid
link:zh-cn_topic_0000001295094372.xml#xref113880335083931,link:zh-cn_topic_0000001295094372.xml#ggaec9b86ee31a5d8abf7c804d81b542f2faeb20e3755faa28a34b37c20fce37672f](#ggaec9b86ee31a5d8abf7c804d81b542f2faeb20e3755faa28a34b37c20fce37672f),
[ERROR:Invalid
link:zh-cn_topic_0000001295094372.xml#xref182824369083931,link:zh-cn_topic_0000001295094372.xml#ggaec9b86ee31a5d8abf7c804d81b542f2fa1ed5e419d57b9ff71ac397d1b17eb420](#ggaec9b86ee31a5d8abf7c804d81b542f2fa1ed5e419d57b9ff71ac397d1b17eb420),
[ERROR:Invalid
link:zh-cn_topic_0000001295094372.xml#xref297127956083931,link:zh-cn_topic_0000001295094372.xml#ggaec9b86ee31a5d8abf7c804d81b542f2fa05f1241d31443ffefec7ac784e141341](#ggaec9b86ee31a5d8abf7c804d81b542f2fa05f1241d31443ffefec7ac784e141341),
[ERROR:Invalid
link:zh-cn_topic_0000001295094372.xml#xref2037974216083931,link:zh-cn_topic_0000001295094372.xml#ggaec9b86ee31a5d8abf7c804d81b542f2fa9583572172c946660b255d5ac3604f9b](#ggaec9b86ee31a5d8abf7c804d81b542f2fa9583572172c946660b255d5ac3604f9b)
} | 电池的健康状态。
[
更多...
](
#batteryhealthstate
)
|
|
[
BatteryChargeState
](
#batterychargestate
)
{
[ERROR:Invalid
link:zh-cn_topic_0000001295094372.xml#xref567636600083931,link:zh-cn_topic_0000001295094372.xml#gga35791cca3603f7855c6368fbd00b21f1afdc91bf6bc92fdcd784cb274b1a14d28](#gga35791cca3603f7855c6368fbd00b21f1afdc91bf6bc92fdcd784cb274b1a14d28)
=
0,
[ERROR:Invalid
link:zh-cn_topic_0000001295094372.xml#xref1386983798083931,link:zh-cn_topic_0000001295094372.xml#gga35791cca3603f7855c6368fbd00b21f1a03dc57c4f65da6b1472ae4f7ed676234](#gga35791cca3603f7855c6368fbd00b21f1a03dc57c4f65da6b1472ae4f7ed676234),
[ERROR:Invalid
link:zh-cn_topic_0000001295094372.xml#xref354436213083931,link:zh-cn_topic_0000001295094372.xml#gga35791cca3603f7855c6368fbd00b21f1a33914f4c27c801d3ba5315ca486655cc](#gga35791cca3603f7855c6368fbd00b21f1a33914f4c27c801d3ba5315ca486655cc),
[ERROR:Invalid
link:zh-cn_topic_0000001295094372.xml#xref323429256083931,link:zh-cn_topic_0000001295094372.xml#gga35791cca3603f7855c6368fbd00b21f1a70b48a2925871d0364ae6344bce944ae](#gga35791cca3603f7855c6368fbd00b21f1a70b48a2925871d0364ae6344bce944ae),
[ERROR:Invalid
link:zh-cn_topic_0000001295094372.xml#xref914237832083931,link:zh-cn_topic_0000001295094372.xml#gga35791cca3603f7855c6368fbd00b21f1a38af1f4d697139ebaa8eb97fb5b34120](#gga35791cca3603f7855c6368fbd00b21f1a38af1f4d697139ebaa8eb97fb5b34120)
} | 电池的充电状态。
[
更多...
](
#batterychargestate
)
|
|
[
BatteryPluggedType
](
#batterypluggedtype
)
{
[ERROR:Invalid
link:zh-cn_topic_0000001295094372.xml#xref1653299919083931,link:zh-cn_topic_0000001295094372.xml#ggab80029eabf9d0fdcc3ab4d4a4c3be6baa23f13d9ed048300c42930d844ead29c7](#ggab80029eabf9d0fdcc3ab4d4a4c3be6baa23f13d9ed048300c42930d844ead29c7)
=
0,
[ERROR:Invalid
link:zh-cn_topic_0000001295094372.xml#xref1508452124083931,link:zh-cn_topic_0000001295094372.xml#ggab80029eabf9d0fdcc3ab4d4a4c3be6baaba143c5ab6146a49e3c1362d3ba38751](#ggab80029eabf9d0fdcc3ab4d4a4c3be6baaba143c5ab6146a49e3c1362d3ba38751),
[ERROR:Invalid
link:zh-cn_topic_0000001295094372.xml#xref1839332687083931,link:zh-cn_topic_0000001295094372.xml#ggab80029eabf9d0fdcc3ab4d4a4c3be6baacfe481a50e9915a049edd3debcc7de1c](#ggab80029eabf9d0fdcc3ab4d4a4c3be6baacfe481a50e9915a049edd3debcc7de1c),
[ERROR:Invalid
link:zh-cn_topic_0000001295094372.xml#xref697301032083931,link:zh-cn_topic_0000001295094372.xml#ggab80029eabf9d0fdcc3ab4d4a4c3be6baaa8b900a0327e60b02ad7d3501057be38](#ggab80029eabf9d0fdcc3ab4d4a4c3be6baaa8b900a0327e60b02ad7d3501057be38),
[ERROR:Invalid
link:zh-cn_topic_0000001295094372.xml#xref1095760243083931,link:zh-cn_topic_0000001295094372.xml#ggab80029eabf9d0fdcc3ab4d4a4c3be6baac85bb1a7b26e14b55cd9bb977c3e66c0](#ggab80029eabf9d0fdcc3ab4d4a4c3be6baac85bb1a7b26e14b55cd9bb977c3e66c0)
} | 电池的充电设备类型。
[
更多...
](
#batterypluggedtype
)
|
|
[
BatteryHealthState
](
#batteryhealthstate
)
{
BATTERY_HEALTH_UNKNOWN
=
0,
BATTERY_HEALTH_GOOD,
BATTERY_HEALTH_OVERHEAT,
BATTERY_HEALTH_OVERVOLTAGE,
BATTERY_HEALTH_COLD,
BATTERY_HEALTH_DEAD,
BATTERY_HEALTH_RESERVED
} | 电池的健康状态。
[
更多...
](
#batteryhealthstate
)
|
|
[
BatteryChargeState
](
#batterychargestate
)
{
CHARGE_STATE_NONE
=
0,
CHARGE_STATE_ENABLE,
CHARGE_STATE_DISABLE,
CHARGE_STATE_FULL,
CHARGE_STATE_RESERVED
} | 电池的充电状态。
[
更多...
](
#batterychargestate
)
|
|
[
BatteryPluggedType
](
#batterypluggedtype
)
{
PLUGGED_TYPE_NONE
=
0,
PLUGGED_TYPE_AC,
PLUGGED_TYPE_USB,
PLUGGED_TYPE_WIRELESS,
PLUGGED_TYPE_BUTT
} | 电池的充电设备类型。
[
更多...
](
#batterypluggedtype
)
|
### 变量
...
...
zh-cn/device-dev/api/codec__common__type_8h.md
浏览文件 @
6caf0f7c
...
...
@@ -22,13 +22,13 @@
### 枚举
| 枚举 | 描述 |
| 枚举
名称
| 描述 |
| -------- | -------- |
|
[
CodecType
](
_codec.md#codectype
)
{
[VIDEO_DECODER](_codec.md#gga03b4b6ae5fb82af68d46aaea3d3e4d79a19c3c7765c55583a64e21938e2439261),
[VIDEO_ENCODER](_codec.md#gga03b4b6ae5fb82af68d46aaea3d3e4d79ad8044bc5b7d871723be90b5b6a094992),
[AUDIO_DECODER](_codec.md#gga03b4b6ae5fb82af68d46aaea3d3e4d79ae4ade329585f6c202847138e3f9cd4a4),
[AUDIO_ENCODER](_codec.md#gga03b4b6ae5fb82af68d46aaea3d3e4d79a7f7f3d3880168089c1de6d1ebc3dbb54),
[INVALID_TYPE](_codec.md#gga03b4b6ae5fb82af68d46aaea3d3e4d79a7314b0d0e4638eaaeb8690b8555a6546)
} | 枚举编解码的类型
[
更多...
](
_codec.md#codectype
)
|
|
[
Profile
](
_codec.md#profile
)
{
[INVALID_PROFILE](_codec.md#gga85b10143618f300ff4f5bc6d45c72c01a6d67944b4958ad33b0eeb851bbcd169f)
=
0,
[AAC_LC_PROFILE](_codec.md#gga85b10143618f300ff4f5bc6d45c72c01ad91765d6dcad7253a924d3cb30501e44)
=
0x1000,
[AAC_MAIN_PROFILE](_codec.md#gga85b10143618f300ff4f5bc6d45c72c01aada4d857818cd9aa1ad62cdf608dab6b),
[AAC_HE_V1_PROFILE](_codec.md#gga85b10143618f300ff4f5bc6d45c72c01ab4255dc0e7450af4f526b85acbabfd3e),
[AAC_HE_V2_PROFILE](_codec.md#gga85b10143618f300ff4f5bc6d45c72c01a9b54f7a8c45ea6d4804133d8de4b8dd8),
[AAC_LD_PROFILE](_codec.md#gga85b10143618f300ff4f5bc6d45c72c01afaaacd4f6bdadac28b5cf49ae8f8470a),
[AAC_ELD_PROFILE](_codec.md#gga85b10143618f300ff4f5bc6d45c72c01a7c8028283d1ff60e486b3305bf8c1adc),
[AVC_BASELINE_PROFILE](_codec.md#gga85b10143618f300ff4f5bc6d45c72c01a5bab002f00d3d7281aedc4807123a47a)
=
0x2000,
[AVC_MAIN_PROFILE](_codec.md#gga85b10143618f300ff4f5bc6d45c72c01a323c1d6e02363f1717f7e6b33fd9a646),
[AVC_HIGH_PROFILE](_codec.md#gga85b10143618f300ff4f5bc6d45c72c01ab9406e6bf30a0c128c3639cce51fe246),
[HEVC_MAIN_PROFILE](_codec.md#gga85b10143618f300ff4f5bc6d45c72c01ae0d37dc2c7d39753a80f6e0ba64e5e22)
=
0x3000,
[HEVC_MAIN_10_PROFILE](_codec.md#gga85b10143618f300ff4f5bc6d45c72c01a811b9e02d8b0afa93e7ab8d2aa7e5de6)
} | 枚举Codec规格
[
更多...
](
_codec.md#profile
)
|
|
[
AudioSampleRate
](
_codec.md#audiosamplerate
)
{
[AUD_SAMPLE_RATE_8000](_codec.md#ggaa0280074adafe6d2581d31f71512b842a65d5a1e4d1f048a33d29c9a3b6f540bd)
=
8000,
[AUD_SAMPLE_RATE_12000](_codec.md#ggaa0280074adafe6d2581d31f71512b842ac8379e14b05cdac5edfcc931ac8b33a9)
=
12000,
[AUD_SAMPLE_RATE_11025](_codec.md#ggaa0280074adafe6d2581d31f71512b842a57b1853b1e309bf1aa5b3a35b06b0f81)
=
11025,
[AUD_SAMPLE_RATE_16000](_codec.md#ggaa0280074adafe6d2581d31f71512b842a43395f0fe94ae2949778468e4488c3ee)
=
16000,
[AUD_SAMPLE_RATE_22050](_codec.md#ggaa0280074adafe6d2581d31f71512b842a5e8155ecfa865686a66e004e37ce1e54)
=
22050,
[AUD_SAMPLE_RATE_24000](_codec.md#ggaa0280074adafe6d2581d31f71512b842abd4c09d52f3da25adb108e9aa503119d)
=
24000,
[AUD_SAMPLE_RATE_32000](_codec.md#ggaa0280074adafe6d2581d31f71512b842a1f94827fe757ad2857d970638b6f8d66)
=
32000,
[AUD_SAMPLE_RATE_44100](_codec.md#ggaa0280074adafe6d2581d31f71512b842ac880553f2ee154a240d9414598e006a2)
=
44100,
[AUD_SAMPLE_RATE_48000](_codec.md#ggaa0280074adafe6d2581d31f71512b842ade6dd509c28b66127c42d2634866b89c)
=
48000,
[AUD_SAMPLE_RATE_64000](_codec.md#ggaa0280074adafe6d2581d31f71512b842a925218c15bb8522796e623a09d99dbc3)
=
64000,
[AUD_SAMPLE_RATE_96000](_codec.md#ggaa0280074adafe6d2581d31f71512b842a48336a808a2ebcf5956995140e2d73dd)
=
96000,
[AUD_SAMPLE_RATE_INVALID](_codec.md#ggaa0280074adafe6d2581d31f71512b842a0cb82ce52fb70b359a0b2232f7f465a2)
} | 枚举音频采样率
[
更多...
](
_codec.md#audiosamplerate
)
|
|
[
CodecCapsMask
](
_codec.md#codeccapsmask
)
{
[CODEC_CAP_ADAPTIVE_PLAYBACK](_codec.md#gga9e2fbfb8a5881de2f495933f90f23b3fa30c688a80d3e64a3f5c2a13da89eef3c)
=
0x1,
[CODEC_CAP_SECURE_PLAYBACK](_codec.md#gga9e2fbfb8a5881de2f495933f90f23b3fa33911c21f51bcd1980645cac6d0729ca)
=
0x2,
[CODEC_CAP_TUNNEL_PLAYBACK](_codec.md#gga9e2fbfb8a5881de2f495933f90f23b3fa423e1b0d0a7dc9e4abeeded920aafb5b)
=
0x4,
[CODEC_CAP_MULTI_PLANE](_codec.md#gga9e2fbfb8a5881de2f495933f90f23b3fa0da8339e6a216573d7dc3b8d4380d96d)
=
0x10000
} | 枚举播放能力
[
更多...
](
_codec.md#codeccapsmask
)
|
|
[
CodecProcessMode
](
_codec.md#codecprocessmode
)
{
[PROCESS_BLOCKING_INPUT_BUFFER](_codec.md#gga5bec468886b760c542669b1615613dc4a0324b4efc6d2095c788806bf387955fe)
=
0X1,
[PROCESS_BLOCKING_OUTPUT_BUFFER](_codec.md#gga5bec468886b760c542669b1615613dc4acba39cb03563db7f38634009575fdc21)
=
0X2,
[PROCESS_BLOCKING_CONTROL_FLOW](_codec.md#gga5bec468886b760c542669b1615613dc4a2ebd571bd15c86c289b04617e78584ec)
=
0X4,
[PROCESS_NONBLOCKING_INPUT_BUFFER](_codec.md#gga5bec468886b760c542669b1615613dc4a73009c59abb2943e3363ad0aeefa81c1)
=
0X100,
[PROCESS_NONBLOCKING_OUTPUT_BUFFER](_codec.md#gga5bec468886b760c542669b1615613dc4ab943f6f6a762a47e663b74f42941fe9e)
=
0X200,
[PROCESS_NONBLOCKING_CONTROL_FLOW](_codec.md#gga5bec468886b760c542669b1615613dc4a5421710be01e8656530fb22f39e766ea)
=
0X400
} | 枚举编解码处理模式
[
更多...
](
_codec.md#codecprocessmode
)
|
|
[
CodecType
](
_codec.md#codectype
)
{
VIDEO_DECODER,
VIDEO_ENCODER,
AUDIO_DECODER,
AUDIO_ENCODER,
INVALID_TYPE
} | 枚举编解码的类型
[
更多...
](
_codec.md#codectype
)
|
|
[
Profile
](
_codec.md#profile
)
{
INVALID_PROFILE
=
0,
AAC_LC_PROFILE
=
0x1000,
AAC_MAIN_PROFILE,
AAC_HE_V1_PROFILE,
AAC_HE_V2_PROFILE,
AAC_LD_PROFILE,
AAC_ELD_PROFILE,
AVC_BASELINE_PROFILE
=
0x2000,
AVC_MAIN_PROFILE,
AVC_HIGH_PROFILE,
HEVC_MAIN_PROFILE
=
0x3000,
HEVC_MAIN_10_PROFILE
} | 枚举Codec规格
[
更多...
](
_codec.md#profile
)
|
|
[
AudioSampleRate
](
_codec.md#audiosamplerate
)
{
AUD_SAMPLE_RATE_8000
=
8000,
AUD_SAMPLE_RATE_12000
=
12000,
AUD_SAMPLE_RATE_11025
=
11025,
AUD_SAMPLE_RATE_16000
=
16000,
AUD_SAMPLE_RATE_22050
=
22050,
AUD_SAMPLE_RATE_24000
=
24000,
AUD_SAMPLE_RATE_32000
=
32000,
AUD_SAMPLE_RATE_44100
=
44100,
AUD_SAMPLE_RATE_48000
=
48000,
AUD_SAMPLE_RATE_64000
=
64000,
AUD_SAMPLE_RATE_96000
=
96000,
AUD_SAMPLE_RATE_INVALID
} | 枚举音频采样率
[
更多...
](
_codec.md#audiosamplerate
)
|
|
[
CodecCapsMask
](
_codec.md#codeccapsmask
)
{
CODEC_CAP_ADAPTIVE_PLAYBACK
=
0x1,
CODEC_CAP_SECURE_PLAYBACK
=
0x2,
CODEC_CAP_TUNNEL_PLAYBACK
=
0x4,
CODEC_CAP_MULTI_PLANE
=
0x10000
} | 枚举播放能力
[
更多...
](
_codec.md#codeccapsmask
)
|
|
[
CodecProcessMode
](
_codec.md#codecprocessmode
)
{
PROCESS_BLOCKING_INPUT_BUFFER
=
0X1,
PROCESS_BLOCKING_OUTPUT_BUFFER
=
0X2,
PROCESS_BLOCKING_CONTROL_FLOW
=
0X4,
PROCESS_NONBLOCKING_INPUT_BUFFER
=
0X100,
PROCESS_NONBLOCKING_OUTPUT_BUFFER
=
0X200,
PROCESS_NONBLOCKING_CONTROL_FLOW
=
0X400
} | 枚举编解码处理模式
[
更多...
](
_codec.md#codecprocessmode
)
|
## **详细描述**
...
...
zh-cn/device-dev/api/codec__component__type_8h.md
浏览文件 @
6caf0f7c
...
...
@@ -43,14 +43,14 @@
### 枚举
| 枚举 | 描述 |
| 枚举
名称
| 描述 |
| -------- | -------- |
|
[
AvCodecRole
](
_codec.md#avcodecrole
)
{
[MEDIA_ROLETYPE_IMAGE_JPEG](_codec.md#gga7c1ff03fc0cd5a8f738afae873b5d5d5ac261edd4c0d6eed15f6317024810dee2)
=
0,
[MEDIA_ROLETYPE_VIDEO_AVC](_codec.md#gga7c1ff03fc0cd5a8f738afae873b5d5d5adebef2ce1107d74e5d4f91d3452c823d),
[MEDIA_ROLETYPE_VIDEO_HEVC](_codec.md#gga7c1ff03fc0cd5a8f738afae873b5d5d5af84180255d50e9ae94cedfc35ad19056),
[MEDIA_ROLETYPE_AUDIO_FIRST](_codec.md#gga7c1ff03fc0cd5a8f738afae873b5d5d5a9e653abe452b248670825bd468f59d20)
=
0x10000,
[MEDIA_ROLETYPE_AUDIO_AAC](_codec.md#gga7c1ff03fc0cd5a8f738afae873b5d5d5ac9627d3deaca6bbf69f03c0dee1b6c05)
=
0x10000,
[MEDIA_ROLETYPE_AUDIO_G711A](_codec.md#gga7c1ff03fc0cd5a8f738afae873b5d5d5a033c0faacbd270fa2c539686e6d60551),
[MEDIA_ROLETYPE_AUDIO_G711U](_codec.md#gga7c1ff03fc0cd5a8f738afae873b5d5d5ae0170e900d835de44884f483b28b10f8),
[MEDIA_ROLETYPE_AUDIO_G726](_codec.md#gga7c1ff03fc0cd5a8f738afae873b5d5d5a1bd136ced64ce1ab7b9e45fb0f5d75b6),
[MEDIA_ROLETYPE_AUDIO_PCM](_codec.md#gga7c1ff03fc0cd5a8f738afae873b5d5d5a30e0f43909d411eb0f4c4fd8f9216dd8),
[MEDIA_ROLETYPE_AUDIO_MP3](_codec.md#gga7c1ff03fc0cd5a8f738afae873b5d5d5aec847c178f28118703297fb600907338),
[MEDIA_ROLETYPE_INVALID](_codec.md#gga7c1ff03fc0cd5a8f738afae873b5d5d5aee058a8e8a635efc2ed3328440a58e45)
} | 枚举音视频编解码组件类型
[
更多...
](
_codec.md#avcodecrole
)
|
|
[
AudioSampleFormat
](
_codec.md#audiosampleformat
)
{
[AUDIO_SAMPLE_FORMAT_S8](_codec.md#gga97cfd5633b2133e7ebe42dbb9b03e757a2d8a330d2cb71268562e1c4da0c4eabc),
[AUDIO_SAMPLE_FORMAT_S8P](_codec.md#gga97cfd5633b2133e7ebe42dbb9b03e757a4eb79a5d6d99244902cfb5c65f225c80),
[AUDIO_SAMPLE_FORMAT_U8](_codec.md#gga97cfd5633b2133e7ebe42dbb9b03e757ab6d04d1d87a9a243b195ab6be183600e),
[AUDIO_SAMPLE_FORMAT_U8P](_codec.md#gga97cfd5633b2133e7ebe42dbb9b03e757aeffb8620959b836e01622c7dc82ebc6d),
[AUDIO_SAMPLE_FORMAT_S16](_codec.md#gga97cfd5633b2133e7ebe42dbb9b03e757a4422a2a04509e492ef823189d454d5a3),
[AUDIO_SAMPLE_FORMAT_S16P](_codec.md#gga97cfd5633b2133e7ebe42dbb9b03e757a11a1fb37c21f722383a37fc5e6075dfe),
[AUDIO_SAMPLE_FORMAT_U16](_codec.md#gga97cfd5633b2133e7ebe42dbb9b03e757af961944b4c8e77ee56defc30e6e61eb5),
[AUDIO_SAMPLE_FORMAT_U16P](_codec.md#gga97cfd5633b2133e7ebe42dbb9b03e757a08ba605e3e58479ebb7432ff5d6d0972),
[AUDIO_SAMPLE_FORMAT_S24](_codec.md#gga97cfd5633b2133e7ebe42dbb9b03e757a102520af7c50d1ee4951e472f5f921e4),
[AUDIO_SAMPLE_FORMAT_S24P](_codec.md#gga97cfd5633b2133e7ebe42dbb9b03e757ae245cf6bd637c1f1304b38746f8940d6),
[AUDIO_SAMPLE_FORMAT_U24](_codec.md#gga97cfd5633b2133e7ebe42dbb9b03e757a0d5fc3d14030aad7bc17d894bf4fc5c9),
[AUDIO_SAMPLE_FORMAT_U24P](_codec.md#gga97cfd5633b2133e7ebe42dbb9b03e757a0e8b7681ec3461988cb7fdd0f3616b2e),
[AUDIO_SAMPLE_FORMAT_S32](_codec.md#gga97cfd5633b2133e7ebe42dbb9b03e757a46819088770f843230d2b094fd8d14ba),
[AUDIO_SAMPLE_FORMAT_S32P](_codec.md#gga97cfd5633b2133e7ebe42dbb9b03e757a7883f8a4bede55eb4ffaf6ecb47f6841),
[AUDIO_SAMPLE_FORMAT_U32](_codec.md#gga97cfd5633b2133e7ebe42dbb9b03e757afae09ccb9fdae65e73e5584a4c3a6d16),
[AUDIO_SAMPLE_FORMAT_U32P](_codec.md#gga97cfd5633b2133e7ebe42dbb9b03e757a915025bfdcf9491a21b2d38dec7998cc),
[AUDIO_SAMPLE_FORMAT_S64](_codec.md#gga97cfd5633b2133e7ebe42dbb9b03e757a2e5477f7cc05dcc271b50e570dfd0452),
[AUDIO_SAMPLE_FORMAT_S64P](_codec.md#gga97cfd5633b2133e7ebe42dbb9b03e757ab07b4d40994980a8012a79dc4a69a794),
[AUDIO_SAMPLE_FORMAT_U64](_codec.md#gga97cfd5633b2133e7ebe42dbb9b03e757a959950ea0f2b6c0e17d752640238c23b),
[AUDIO_SAMPLE_FORMAT_U64P](_codec.md#gga97cfd5633b2133e7ebe42dbb9b03e757aad2c58522f7d16111756c1731bf52044),
[AUDIO_SAMPLE_FORMAT_F32](_codec.md#gga97cfd5633b2133e7ebe42dbb9b03e757ac3cb5729241a7f73210d97d4fe0002fe),
[AUDIO_SAMPLE_FORMAT_F32P](_codec.md#gga97cfd5633b2133e7ebe42dbb9b03e757a1121b8995d1083f61b2fa0afcc45143f),
[AUDIO_SAMPLE_FORMAT_F64](_codec.md#gga97cfd5633b2133e7ebe42dbb9b03e757a72f064169d0282fa8a152aea546056c3),
[AUDIO_SAMPLE_FORMAT_F64P](_codec.md#gga97cfd5633b2133e7ebe42dbb9b03e757a1f0e407cd152b27f7b0ff761d26bb300),
[AUDIO_SAMPLE_FMT_U8](_codec.md#gga97cfd5633b2133e7ebe42dbb9b03e757aad65a5b895b3dba000167dbb6c19b9ab),
[AUDIO_SAMPLE_FMT_S16](_codec.md#gga97cfd5633b2133e7ebe42dbb9b03e757a40335eaa7ca378540941909ed02b51a0),
[AUDIO_SAMPLE_FMT_S32](_codec.md#gga97cfd5633b2133e7ebe42dbb9b03e757ab98feafb8396c0190a4fb719a15ab7c5),
[AUDIO_SAMPLE_FMT_FLOAT](_codec.md#gga97cfd5633b2133e7ebe42dbb9b03e757ac2fb27a42b3f79e51dd71ce05b42f9db),
[AUDIO_SAMPLE_FMT_DOUBLE](_codec.md#gga97cfd5633b2133e7ebe42dbb9b03e757afb8b12c44b4799f59a533609b4c360b5),
[AUDIO_SAMPLE_FMT_U8P](_codec.md#gga97cfd5633b2133e7ebe42dbb9b03e757a8eb00238e7aa21d69f056d9292eb64d9),
[AUDIO_SAMPLE_FMT_S16P](_codec.md#gga97cfd5633b2133e7ebe42dbb9b03e757a93008db1a966fee4a91b515fedc78cec),
[AUDIO_SAMPLE_FMT_S32P](_codec.md#gga97cfd5633b2133e7ebe42dbb9b03e757a6bb874f2726bb94d08914b366ae947d6),
[AUDIO_SAMPLE_FMT_FLOATP](_codec.md#gga97cfd5633b2133e7ebe42dbb9b03e757a8a635bbd6c5df1a8a0fadb1d9602ea74),
[AUDIO_SAMPLE_FMT_DOUBLEP](_codec.md#gga97cfd5633b2133e7ebe42dbb9b03e757a467bd88ce7f736a433425695ed0a0dbc),
[AUDIO_SAMPLE_FMT_INVALID](_codec.md#gga97cfd5633b2133e7ebe42dbb9b03e757a5c8f7c2c0f84e70f609f8fd4ffd2c910)
} | 枚举音频采样格式
[
更多...
](
_codec.md#audiosampleformat
)
|
|
[
CodecBufferType
](
_codec.md#codecbuffertype
)
{
[CODEC_BUFFER_TYPE_INVALID](_codec.md#ggaf63c168decbe7dc156ad3b4d575a0d46aba35b6e9b3ca08afcb012f723c07baee)
=
0,
[CODEC_BUFFER_TYPE_VIRTUAL_ADDR](_codec.md#ggaf63c168decbe7dc156ad3b4d575a0d46a4df6de0078bcf908fdb12d0ec1486899)
=
0x1,
[CODEC_BUFFER_TYPE_AVSHARE_MEM_FD](_codec.md#ggaf63c168decbe7dc156ad3b4d575a0d46aaba95e9bf8ffbd7fe7512bc842d70ca5)
=
0x2,
[CODEC_BUFFER_TYPE_HANDLE](_codec.md#ggaf63c168decbe7dc156ad3b4d575a0d46a90db1a10a238c832937c7a0e02287a79)
=
0x4,
[CODEC_BUFFER_TYPE_DYNAMIC_HANDLE](_codec.md#ggaf63c168decbe7dc156ad3b4d575a0d46a931ecc36727f5eb3baba00e0d2b8771e)
=
0x8
} | 定义buffer类型
[
更多...
](
_codec.md#codecbuffertype
)
|
|
[
ShareMemTypes
](
_codec.md#sharememtypes
)
{
[READ_WRITE_TYPE](_codec.md#ggae84516e039a3963772dfeebd4937cb8daa268821c7f672c1b968aeed0ad745dd0)
=
0x1,
[READ_ONLY_TYPE](_codec.md#ggae84516e039a3963772dfeebd4937cb8daa5af6f1eec0b9f19c72a1085cef7c0ff)
=
0x2
} | 枚举共享内存类型
[
更多...
](
_codec.md#sharememtypes
)
|
|
[
OmxIndexCodecExType
](
_codec.md#omxindexcodecextype
)
{
[OMX_IndexExtBufferTypeStartUnused](_codec.md#gga0ab3a4efe29745d2b49944c4014e0c28a228f8b3c93f68da516a76db3f594625d)
=
OMX_IndexKhronosExtensions
+
0x00a00000,
[OMX_IndexParamSupportBufferType](_codec.md#gga0ab3a4efe29745d2b49944c4014e0c28aaab75f888d711f3168327535312117fa),
[OMX_IndexParamUseBufferType](_codec.md#gga0ab3a4efe29745d2b49944c4014e0c28a353c3ccfb9985619526c0c7a28c9cce8),
[OMX_IndexParamGetBufferHandleUsage](_codec.md#gga0ab3a4efe29745d2b49944c4014e0c28a3dea5e61dc211290d54d79d35679199d)
} | 枚举Codec扩展index
[
更多...
](
_codec.md#omxindexcodecextype
)
|
|
[
OmxVideoExType
](
_codec.md#omxvideoextype
)
{
[OMX_VIDEO_CodingHEVC](_codec.md#ggab1cbacdf16bc8912e69547b37022a9c1acf4ea0b624499e3a53c3b36f6217f6fe)
=
11
} | 枚举Codec扩展编码类型
[
更多...
](
_codec.md#omxvideoextype
)
|
|
[
AvCodecRole
](
_codec.md#avcodecrole
)
{
MEDIA_ROLETYPE_IMAGE_JPEG
=
0,
MEDIA_ROLETYPE_VIDEO_AVC,
MEDIA_ROLETYPE_VIDEO_HEVC,
MEDIA_ROLETYPE_AUDIO_FIRST
=
0x10000,
MEDIA_ROLETYPE_AUDIO_AAC
=
0x10000,
MEDIA_ROLETYPE_AUDIO_G711A,
MEDIA_ROLETYPE_AUDIO_G711U,
MEDIA_ROLETYPE_AUDIO_G726,
MEDIA_ROLETYPE_AUDIO_PCM,
MEDIA_ROLETYPE_AUDIO_MP3,
MEDIA_ROLETYPE_INVALID
} | 枚举音视频编解码组件类型
[
更多...
](
_codec.md#avcodecrole
)
|
|
[
AudioSampleFormat
](
_codec.md#audiosampleformat
)
{
AUDIO_SAMPLE_FORMAT_S8,
AUDIO_SAMPLE_FORMAT_S8P,
AUDIO_SAMPLE_FORMAT_U8,
AUDIO_SAMPLE_FORMAT_U8P,
AUDIO_SAMPLE_FORMAT_S16,
AUDIO_SAMPLE_FORMAT_S16P,
AUDIO_SAMPLE_FORMAT_U16,
AUDIO_SAMPLE_FORMAT_U16P,
AUDIO_SAMPLE_FORMAT_S24,
AUDIO_SAMPLE_FORMAT_S24P,
AUDIO_SAMPLE_FORMAT_U24,
AUDIO_SAMPLE_FORMAT_U24P,
AUDIO_SAMPLE_FORMAT_S32,
AUDIO_SAMPLE_FORMAT_S32P,
AUDIO_SAMPLE_FORMAT_U32,
AUDIO_SAMPLE_FORMAT_U32P,
AUDIO_SAMPLE_FORMAT_S64,
AUDIO_SAMPLE_FORMAT_S64P,
AUDIO_SAMPLE_FORMAT_U64,
AUDIO_SAMPLE_FORMAT_U64P,
AUDIO_SAMPLE_FORMAT_F32,
AUDIO_SAMPLE_FORMAT_F32P,
AUDIO_SAMPLE_FORMAT_F64,
AUDIO_SAMPLE_FORMAT_F64P,
AUDIO_SAMPLE_FMT_U8,
AUDIO_SAMPLE_FMT_S16,
AUDIO_SAMPLE_FMT_S32,
AUDIO_SAMPLE_FMT_FLOAT,
AUDIO_SAMPLE_FMT_DOUBLE,
AUDIO_SAMPLE_FMT_U8P,
AUDIO_SAMPLE_FMT_S16P,
AUDIO_SAMPLE_FMT_S32P,
AUDIO_SAMPLE_FMT_FLOATP,
AUDIO_SAMPLE_FMT_DOUBLEP,
AUDIO_SAMPLE_FMT_INVALID
} | 枚举音频采样格式
[
更多...
](
_codec.md#audiosampleformat
)
|
|
[
CodecBufferType
](
_codec.md#codecbuffertype
)
{
CODEC_BUFFER_TYPE_INVALID
=
0,
CODEC_BUFFER_TYPE_VIRTUAL_ADDR
=
0x1,
CODEC_BUFFER_TYPE_AVSHARE_MEM_FD
=
0x2,
CODEC_BUFFER_TYPE_HANDLE
=
0x4,
CODEC_BUFFER_TYPE_DYNAMIC_HANDLE
=
0x8
} | 定义buffer类型
[
更多...
](
_codec.md#codecbuffertype
)
|
|
[
ShareMemTypes
](
_codec.md#sharememtypes
)
{
READ_WRITE_TYPE
=
0x1,
READ_ONLY_TYPE
=
0x2
} | 枚举共享内存类型
[
更多...
](
_codec.md#sharememtypes
)
|
|
[
OmxIndexCodecExType
](
_codec.md#omxindexcodecextype
)
{
OMX_IndexExtBufferTypeStartUnused
=
OMX_IndexKhronosExtensions
+
0x00a00000,
OMX_IndexParamSupportBufferType,
OMX_IndexParamUseBufferType,
OMX_IndexParamGetBufferHandleUsage
} | 枚举Codec扩展index
[
更多...
](
_codec.md#omxindexcodecextype
)
|
|
[
OmxVideoExType
](
_codec.md#omxvideoextype
)
{
OMX_VIDEO_CodingHEVC
=
11
} | 枚举Codec扩展编码类型
[
更多...
](
_codec.md#omxvideoextype
)
|
## **详细描述**
...
...
zh-cn/device-dev/api/display__type_8h.md
浏览文件 @
6caf0f7c
此差异已折叠。
点击以展开。
zh-cn/device-dev/api/input__type_8h.md
浏览文件 @
6caf0f7c
...
...
@@ -35,12 +35,12 @@
### 枚举
| 枚举 | 描述 |
| 枚举
名称
| 描述 |
| -------- | -------- |
|
[
RetStatus
](
_input.md#retstatus
)
{
[INPUT_SUCCESS](_input.md#gga85d58a5185669daa4995e332b63eba7aa4b6c3821e689826c4323c4eb759b4d3a)
=
0,
[INPUT_FAILURE](_input.md#gga85d58a5185669daa4995e332b63eba7aa07d986b0ee365020834af82a31dfce11)
=
-1,
[INPUT_INVALID_PARAM](_input.md#gga85d58a5185669daa4995e332b63eba7aa5f54ab958e21a298da35c3c5c1c36d85)
=
-2,
[INPUT_NOMEM](_input.md#gga85d58a5185669daa4995e332b63eba7aaddf6c11b0fac107e0123b83cfc4a1185)
=
-3,
[INPUT_NULL_PTR](_input.md#gga85d58a5185669daa4995e332b63eba7aa157cd4f4736dd1f05eb2e13dbc7123ed)
=
-4,
[INPUT_TIMEOUT](_input.md#gga85d58a5185669daa4995e332b63eba7aabdaeb2a27983bd66ff6e24d4df255f59)
=
-5,
[INPUT_UNSUPPORTED](_input.md#gga85d58a5185669daa4995e332b63eba7aa8978f7ee3d0ddd70f5077c21efc4a97a)
=
-6
} | 定义返回值类型
[
更多...
](
_input.md#retstatus
)
|
|
[
InputDevType
](
_input.md#inputdevtype
)
{
[INDEV_TYPE_TOUCH](_input.md#ggaa8225ba155dfa1ef2c4119c832bc4dd3a621678554aac2b37ac244b80fc33da0d),
[INDEV_TYPE_KEY](_input.md#ggaa8225ba155dfa1ef2c4119c832bc4dd3a4c4c8407342021cc06a95aa13ebeaca1),
[INDEV_TYPE_KEYBOARD](_input.md#ggaa8225ba155dfa1ef2c4119c832bc4dd3a3a4137efe666a3aaccf267d597879fdc),
[INDEV_TYPE_MOUSE](_input.md#ggaa8225ba155dfa1ef2c4119c832bc4dd3abe68740c1d125d3d474fdadc7d31d11c),
[INDEV_TYPE_BUTTON](_input.md#ggaa8225ba155dfa1ef2c4119c832bc4dd3a2815a25dde3e56e1f8eb57f20049e8c0),
[INDEV_TYPE_CROWN](_input.md#ggaa8225ba155dfa1ef2c4119c832bc4dd3a4ef2ab6bc355e2321664709716d1d04f),
[INDEV_TYPE_ENCODER](_input.md#ggaa8225ba155dfa1ef2c4119c832bc4dd3a8cd6b27ac631b9d3fa89a17ddca37291),
[INDEV_TYPE_UNKNOWN](_input.md#ggaa8225ba155dfa1ef2c4119c832bc4dd3a4097247eba52062f47a1aa99414033de)
} | 定义input设备类型
[
更多...
](
_input.md#inputdevtype
)
|
|
[
PowerStatus
](
_input.md#powerstatus
)
{
[INPUT_RESUME](_input.md#gga65e6bb4d942c22dba9975253b0a1d73fa5edb1acdc509659046de9cb61bd9508a),
[INPUT_SUSPEND](_input.md#gga65e6bb4d942c22dba9975253b0a1d73fa2a6aab1b3d50dae2b6ba43779e185ea5),
[INPUT_LOW_POWER](_input.md#gga65e6bb4d942c22dba9975253b0a1d73fa8895c64802d558830d46bcd921830e9d),
[INPUT_POWER_STATUS_UNKNOWN](_input.md#gga65e6bb4d942c22dba9975253b0a1d73fa728020b31c626f749d426cbe8f0f92fe)
} | 定义电源状态
[
更多...
](
_input.md#powerstatus
)
|
|
[
CapacitanceTest
](
_input.md#capacitancetest
)
{
[BASE_TEST](_input.md#ggae96e484cfd64ea37b5b7782f57f38a21aedd31f50c79a36cc8e084d69a3fc695b),
[FULL_TEST](_input.md#ggae96e484cfd64ea37b5b7782f57f38a21abfe92c879dc84b5b071899a7ec5cc41d),
[MMI_TEST](_input.md#ggae96e484cfd64ea37b5b7782f57f38a21a93335d88212604ade3b0bfe7e619916f),
[RUNNING_TEST](_input.md#ggae96e484cfd64ea37b5b7782f57f38a21a31afc25da895db4eaa2af6cec1d6b37c),
[TEST_TYPE_UNKNOWN](_input.md#ggae96e484cfd64ea37b5b7782f57f38a21a9d739cecefd291b39152e3815445aa20)
} | 定义容值测试类型
[
更多...
](
_input.md#capacitancetest
)
|
|
[
RetStatus
](
_input.md#retstatus
)
{
INPUT_SUCCESS
=
0,
INPUT_FAILURE
=
-1,
INPUT_INVALID_PARAM
=
-2,
INPUT_NOMEM
=
-3,
INPUT_NULL_PTR
=
-4,
INPUT_TIMEOUT
=
-5,
INPUT_UNSUPPORTED
=
-6
} | 定义返回值类型
[
更多...
](
_input.md#retstatus
)
|
|
[
InputDevType
](
_input.md#inputdevtype
)
{
INDEV_TYPE_TOUCH,
INDEV_TYPE_KEY,
INDEV_TYPE_KEYBOARD,
INDEV_TYPE_MOUSE,
INDEV_TYPE_BUTTON,
INDEV_TYPE_CROWN,
INDEV_TYPE_ENCODER,
INDEV_TYPE_UNKNOWN
} | 定义input设备类型
[
更多...
](
_input.md#inputdevtype
)
|
|
[
PowerStatus
](
_input.md#powerstatus
)
{
INPUT_RESUME,
INPUT_SUSPEND,
INPUT_LOW_POWER,
INPUT_POWER_STATUS_UNKNOWN
} | 定义电源状态
[
更多...
](
_input.md#powerstatus
)
|
|
[
CapacitanceTest
](
_input.md#capacitancetest
)
{
BASE_TEST,
FULL_TEST,
MMI_TEST,
RUNNING_TEST,
TEST_TYPE_UNKNOWN
} | 定义容值测试类型
[
更多...
](
_input.md#capacitancetest
)
|
## **详细描述**
...
...
zh-cn/device-dev/api/power.md
浏览文件 @
6caf0f7c
...
...
@@ -23,11 +23,11 @@
### 枚举
| 枚举 | 描述 |
| 枚举
名称
| 描述 |
| -------- | -------- |
|
[
PowerHdfCmd
](
#powerhdfcmd
)
{
[ERROR:Invalid
link:zh-cn_topic_0000001348174201.xml#xref1240658535083931,link:zh-cn_topic_0000001348174201.xml#gga0c9f68a1cf4b1b76a8253281688a499fadb8d2fd75158645b1cd01cab62a11e48](#gga0c9f68a1cf4b1b76a8253281688a499fadb8d2fd75158645b1cd01cab62a11e48)
=
0,
[ERROR:Invalid
link:zh-cn_topic_0000001348174201.xml#xref575539927083931,link:zh-cn_topic_0000001348174201.xml#gga0c9f68a1cf4b1b76a8253281688a499fab1d1e95415b8a9ab070fed3200b5f1d3](#gga0c9f68a1cf4b1b76a8253281688a499fab1d1e95415b8a9ab070fed3200b5f1d3),
[ERROR:Invalid
link:zh-cn_topic_0000001348174201.xml#xref1562929411083931,link:zh-cn_topic_0000001348174201.xml#gga0c9f68a1cf4b1b76a8253281688a499fa65c754fdc432aa2a6f13c27cb97c27de](#gga0c9f68a1cf4b1b76a8253281688a499fa65c754fdc432aa2a6f13c27cb97c27de),
[ERROR:Invalid
link:zh-cn_topic_0000001348174201.xml#xref33754950083931,link:zh-cn_topic_0000001348174201.xml#gga0c9f68a1cf4b1b76a8253281688a499faa96402e649008dcafce89c7a47c6f266](#gga0c9f68a1cf4b1b76a8253281688a499faa96402e649008dcafce89c7a47c6f266),
[ERROR:Invalid
link:zh-cn_topic_0000001348174201.xml#xref642377669083931,link:zh-cn_topic_0000001348174201.xml#gga0c9f68a1cf4b1b76a8253281688a499fa0766f8c155a9de9fc7168a498c8317da](#gga0c9f68a1cf4b1b76a8253281688a499fa0766f8c155a9de9fc7168a498c8317da),
[ERROR:Invalid
link:zh-cn_topic_0000001348174201.xml#xref1247624561083931,link:zh-cn_topic_0000001348174201.xml#gga0c9f68a1cf4b1b76a8253281688a499fa840d1fd2227dfea25fcee7217deb82ed](#gga0c9f68a1cf4b1b76a8253281688a499fa840d1fd2227dfea25fcee7217deb82ed),
[ERROR:Invalid
link:zh-cn_topic_0000001348174201.xml#xref111578637083931,link:zh-cn_topic_0000001348174201.xml#gga0c9f68a1cf4b1b76a8253281688a499fab92b7d7125239e258bd22cd1a35aba0d](#gga0c9f68a1cf4b1b76a8253281688a499fab92b7d7125239e258bd22cd1a35aba0d)
} | 枚举电源命令的参数。
[
更多...
](
#powerhdfcmd
)
|
|
[
PowerHdfCallbackCmd
](
#powerhdfcallbackcmd
)
{
[ERROR:Invalid
link:zh-cn_topic_0000001348174201.xml#xref1691232702083931,link:zh-cn_topic_0000001348174201.xml#gga4bbb7ca0dc24efe3980c39cd409b4109a6d4a3ebd4580d7303df66d5ea9ad98d1](#gga4bbb7ca0dc24efe3980c39cd409b4109a6d4a3ebd4580d7303df66d5ea9ad98d1)
=
0,
[ERROR:Invalid
link:zh-cn_topic_0000001348174201.xml#xref1643638329083931,link:zh-cn_topic_0000001348174201.xml#gga4bbb7ca0dc24efe3980c39cd409b4109a4d0194285647be62fe2c191cad95e72f](#gga4bbb7ca0dc24efe3980c39cd409b4109a4d0194285647be62fe2c191cad95e72f)
} | 枚举电源状态回调的参数。
[
更多...
](
#powerhdfcallbackcmd
)
|
|
[
PowerHdfState
](
#powerhdfstate
)
{
[ERROR:Invalid
link:zh-cn_topic_0000001348174201.xml#xref1420013227083931,link:zh-cn_topic_0000001348174201.xml#ggadf82dc0e2ae04729ac8fabb3e3d28ecda65e803ac3fb48fa726e326f3c63c2d83](#ggadf82dc0e2ae04729ac8fabb3e3d28ecda65e803ac3fb48fa726e326f3c63c2d83)
=
0,
[ERROR:Invalid
link:zh-cn_topic_0000001348174201.xml#xref1860258815083931,link:zh-cn_topic_0000001348174201.xml#ggadf82dc0e2ae04729ac8fabb3e3d28ecda3ff8ba88da6f8947ab7c22b7825c6bb6](#ggadf82dc0e2ae04729ac8fabb3e3d28ecda3ff8ba88da6f8947ab7c22b7825c6bb6),
[ERROR:Invalid
link:zh-cn_topic_0000001348174201.xml#xref119525154083931,link:zh-cn_topic_0000001348174201.xml#ggadf82dc0e2ae04729ac8fabb3e3d28ecdad6137abebe4fdc59e2f0f2c84bdbe3fa](#ggadf82dc0e2ae04729ac8fabb3e3d28ecdad6137abebe4fdc59e2f0f2c84bdbe3fa)
} | 枚举电源的状态。
[
更多...
](
#powerhdfstate
)
|
|
[
PowerHdfCmd
](
#powerhdfcmd
)
{
CMD_REGISTER_CALLBCK
=
0,
CMD_START_SUSPEND,
CMD_STOP_SUSPEND,
CMD_FORCE_SUSPEND,
CMD_SUSPEND_BLOCK,
CMD_SUSPEND_UNBLOCK,
CMD_DUMP
} | 枚举电源命令的参数。
[
更多...
](
#powerhdfcmd
)
|
|
[
PowerHdfCallbackCmd
](
#powerhdfcallbackcmd
)
{
CMD_ON_SUSPEND
=
0,
CMD_ON_WAKEUP
} | 枚举电源状态回调的参数。
[
更多...
](
#powerhdfcallbackcmd
)
|
|
[
PowerHdfState
](
#powerhdfstate
)
{
AWAKE
=
0,
INACTIVE,
SLEEP
} | 枚举电源的状态。
[
更多...
](
#powerhdfstate
)
|
### 变量
...
...
zh-cn/device-dev/api/sensor__type_8h.md
浏览文件 @
6caf0f7c
...
...
@@ -36,14 +36,14 @@
### 枚举
| 枚举 | 描述 |
| 枚举
名称
| 描述 |
| -------- | -------- |
|
[
SensorStatus
](
_sensor.md#sensorstatus
)
{
[SENSOR_SUCCESS](_sensor.md#ggaa348cf223e558076864814ee88920ceca6fe3474c6df06ef2bd1d3fb84fc57827)
=
0,
[SENSOR_FAILURE](_sensor.md#ggaa348cf223e558076864814ee88920cecafc02a48cdab506c10ef1c5c66600ae71)
=
-1,
[SENSOR_NOT_SUPPORT](_sensor.md#ggaa348cf223e558076864814ee88920cecacbf62f7bd2738d9be4b81e603c4f3bd5)
=
-2,
[SENSOR_INVALID_PARAM](_sensor.md#ggaa348cf223e558076864814ee88920ceca0728f44385b2cb32a5c01e1370e6f2d7)
=
-3,
[SENSOR_INVALID_SERVICE](_sensor.md#ggaa348cf223e558076864814ee88920cecaeb19761a981ab03ce5144ed0b4c7a48c)
=
-4,
[SENSOR_NULL_PTR](_sensor.md#p431372085818)
=
-5
} | 定义传感器模块返回值类型。
[
更多...
](
_sensor.md#sensorstatus
)
|
|
[
SensorTypeTag
](
_sensor.md#sensortypetag
)
{
[SENSOR_TYPE_NONE](_sensor.md#ggaea6a2a57db175118e08189b73f8f3da5a3f8e3e31e6a356192f150019309925ee)
=
0,
[SENSOR_TYPE_ACCELEROMETER](_sensor.md#ggaea6a2a57db175118e08189b73f8f3da5abd9779b04292b5e8054485b10fccb99c)
=
1,
[SENSOR_TYPE_GYROSCOPE](_sensor.md#ggaea6a2a57db175118e08189b73f8f3da5adc01250dcba5642d294f74ba4d115c28)
=
2,
[SENSOR_TYPE_PHOTOPLETHYSMOGRAPH](_sensor.md#ggaea6a2a57db175118e08189b73f8f3da5a93f36cca60373938f2410162b16b531e)
=
3,
[SENSOR_TYPE_ELECTROCARDIOGRAPH](_sensor.md#ggaea6a2a57db175118e08189b73f8f3da5a2d8e52264648743ae154b99eef141607)
=
4,
[SENSOR_TYPE_AMBIENT_LIGHT](_sensor.md#ggaea6a2a57db175118e08189b73f8f3da5a717a301be1664d4cd1ea543ca0653325)
=
5,
[SENSOR_TYPE_MAGNETIC_FIELD](_sensor.md#ggaea6a2a57db175118e08189b73f8f3da5a74438e3f4f1f8cb1e97ccebbd1096fe8)
=
6,
[SENSOR_TYPE_CAPACITIVE](_sensor.md#ggaea6a2a57db175118e08189b73f8f3da5a3ed11be057d851a8ee1db6d946b0e69b)
=
7,
[SENSOR_TYPE_BAROMETER](_sensor.md#ggaea6a2a57db175118e08189b73f8f3da5ab9ec86561c555fe323e6a45508e20ca8)
=
8,
[SENSOR_TYPE_TEMPERATURE](_sensor.md#ggaea6a2a57db175118e08189b73f8f3da5a1931d9687ccbd0aac063417fc0d7b4f6)
=
9,
[SENSOR_TYPE_HALL](_sensor.md#ggaea6a2a57db175118e08189b73f8f3da5a7a343ec270d2bd5b96b4748fb4300665)
=
10,
[SENSOR_TYPE_GESTURE](_sensor.md#ggaea6a2a57db175118e08189b73f8f3da5a875d96bbe6c91eb906e47bbda4250dfe)
=
11,
[SENSOR_TYPE_PROXIMITY](_sensor.md#ggaea6a2a57db175118e08189b73f8f3da5a47912cab9ef79bbe4eb20538a88ce59c)
=
12,
[SENSOR_TYPE_HUMIDITY](_sensor.md#ggaea6a2a57db175118e08189b73f8f3da5a09fbc658c0f86f34e08513ef355870f5)
=
13,
[SENSOR_TYPE_MEDICAL_BEGIN](_sensor.md#ggaea6a2a57db175118e08189b73f8f3da5a5e792e48a4eb7b53561af8e511dba943)
=
128,
[SENSOR_TYPE_MEDICAL_END](_sensor.md#ggaea6a2a57db175118e08189b73f8f3da5ad53330afd8a904e115774ffc04f2e89e)
=
160,
[SENSOR_TYPE_PHYSICAL_MAX](_sensor.md#ggaea6a2a57db175118e08189b73f8f3da5a618cf39cdc6bac1ffe31ba2ad488ca53)
=
255,
[SENSOR_TYPE_ORIENTATION](_sensor.md#ggaea6a2a57db175118e08189b73f8f3da5af2ccaca19bdabe513c45c058003ed596)
=
256,
[SENSOR_TYPE_GRAVITY](_sensor.md#ggaea6a2a57db175118e08189b73f8f3da5ac7d364262029cc21bc865577d5288a1e)
=
257,
[SENSOR_TYPE_LINEAR_ACCELERATION](_sensor.md#ggaea6a2a57db175118e08189b73f8f3da5a914a1f090dcc61586318fd4eb4cb1384)
=
258,
[SENSOR_TYPE_ROTATION_VECTOR](_sensor.md#ggaea6a2a57db175118e08189b73f8f3da5ac407aca03c7ce72ea55e52f40477561b)
=
259,
[SENSOR_TYPE_AMBIENT_TEMPERATURE](_sensor.md#ggaea6a2a57db175118e08189b73f8f3da5a7d9456395f361833de2ee3ef12a1af2a)
=
260,
[SENSOR_TYPE_MAGNETIC_FIELD_UNCALIBRATED](_sensor.md#ggaea6a2a57db175118e08189b73f8f3da5a492db205ab694c3954f4b46fa6a999af)
=
261,
[SENSOR_TYPE_GAME_ROTATION_VECTOR](_sensor.md#ggaea6a2a57db175118e08189b73f8f3da5af8302206e90774d69fb272ee50e6607b)
=
262,
[SENSOR_TYPE_GYROSCOPE_UNCALIBRATED](_sensor.md#ggaea6a2a57db175118e08189b73f8f3da5ad123a39ee0525c760755a4b40e5dc638)
=
263,
[SENSOR_TYPE_SIGNIFICANT_MOTION](_sensor.md#ggaea6a2a57db175118e08189b73f8f3da5a3a4ce3aad51d07a5475c3fb1de90ec80)
=
264,
[SENSOR_TYPE_PEDOMETER_DETECTION](_sensor.md#ggaea6a2a57db175118e08189b73f8f3da5a443b13dc20beadc7821db8df7682cd58)
=
265,
[SENSOR_TYPE_PEDOMETER](_sensor.md#ggaea6a2a57db175118e08189b73f8f3da5a0cef311260d7668885a937ee1ee8d5d8)
=
266,
[SENSOR_TYPE_GEOMAGNETIC_ROTATION_VECTOR](_sensor.md#ggaea6a2a57db175118e08189b73f8f3da5a80a8adf73ab45b0eaaeb24fa3c5351f0)
=
277,
[SENSOR_TYPE_HEART_RATE](_sensor.md#ggaea6a2a57db175118e08189b73f8f3da5a4d4febf14d8366d19661d7b1acb5ff91)
=
278,
[SENSOR_TYPE_DEVICE_ORIENTATION](_sensor.md#ggaea6a2a57db175118e08189b73f8f3da5a23a60d20eeedd90de69b27ffa4a764ac)
=
279,
[SENSOR_TYPE_WEAR_DETECTION](_sensor.md#ggaea6a2a57db175118e08189b73f8f3da5a0ca37fde34accc45f3065c635480a718)
=
280,
[SENSOR_TYPE_ACCELEROMETER_UNCALIBRATED](_sensor.md#ggaea6a2a57db175118e08189b73f8f3da5a730bd9013ab8fea3bbfae66f4c6a6129)
=
281,
[SENSOR_TYPE_MAX](_sensor.md#p876144152111)
} | 定义传感器类型标识。
[
更多...
](
_sensor.md#sensortypetag
)
|
|
[
SensorAccuracyType
](
_sensor.md#sensoraccuracytype
)
{
[SENSOR_NO_ACCURACY](_sensor.md#gga985dcd359f32f3cdfbaecb98f1f436e7a1f1bc8e9ccbc83cb0cb107a795fd85f7)
=
0,
[SENSOR_LOW_ACCURACY](_sensor.md#gga985dcd359f32f3cdfbaecb98f1f436e7a6c2ad64f15e8d0ba24f8b573bc0f19ed)
=
1,
[SENSOR_MEDIUM_ACCURACY](_sensor.md#gga985dcd359f32f3cdfbaecb98f1f436e7a9083140f63420c7b109c5ae8f009a8dd)
=
2,
[SENSOR_HIGH_ACCURACY](_sensor.md#gga985dcd359f32f3cdfbaecb98f1f436e7a8a8e8f15654a31f9df91bb0561f55574)
=
3,
[SENSOR_MAX_ACCURACY](_sensor.md#p945419536162)
} | 传感器的精度类型。
[
更多...
](
_sensor.md#sensoraccuracytype
)
|
|
[
SensorRangeType
](
_sensor.md#sensorrangetype
)
{
[SENSOR_RANGE_LEVEL1](_sensor.md#gga4b389f271110480ce20fcc0763cf6d20a8b81d07987b7a203ef04579c60c07986)
=
0,
[SENSOR_RANGE_LEVEL2](_sensor.md#gga4b389f271110480ce20fcc0763cf6d20a39dd36b72a88ef8bdccdddc9225e21a1)
=
1,
[SENSOR_RANGE_LEVEL3](_sensor.md#gga4b389f271110480ce20fcc0763cf6d20a7fee94e695411165b4e1f7b75ce5d52e)
=
2,
[SENSOR_RANGE_LEVEL_MAX](_sensor.md#p165901247205)
} | 传感器的量程级别。
[
更多...
](
_sensor.md#sensorrangetype
)
|
|
[
SensorModeType
](
_sensor.md#sensormodetype
)
{
[SENSOR_MODE_DEFAULT](_sensor.md#gga066f4ffeb31a1f4cb3ed357736e0afabae36be092f02cd01eb5bf1c8ae23af73d)
=
0,
[SENSOR_MODE_REALTIME](_sensor.md#gga066f4ffeb31a1f4cb3ed357736e0afaba5db5e8c1a702aca7ecc751532ecfa69d)
=
1,
[SENSOR_MODE_ON_CHANGE](_sensor.md#gga066f4ffeb31a1f4cb3ed357736e0afaba9d264027423bdee89167c3c8f4c71322)
=
2,
[SENSOR_MODE_ONE_SHOT](_sensor.md#gga066f4ffeb31a1f4cb3ed357736e0afabac0967e6c4ef5004fda5f26f061fec6ee)
=
3,
[SENSOR_MODE_FIFO_MODE](_sensor.md#gga066f4ffeb31a1f4cb3ed357736e0afaba3f4f9b49ae7fe1fb89cd3bff398c7f0f)
=
4,
[SENSOR_MODE_MAX](_sensor.md#p4932820101810)
} | 传感器的工作模式。
[
更多...
](
_sensor.md#sensormodetype
)
|
|
[
SensorGroupType
](
_sensor.md#sensorgrouptype
)
{
[TRADITIONAL_SENSOR_TYPE](_sensor.md#gga588325c4c22f56d09cda6e54df0d9a6ca8cc091715416b86fd2eff0a875a76c64)
=
0,
[MEDICAL_SENSOR_TYPE](_sensor.md#gga588325c4c22f56d09cda6e54df0d9a6cab8f846ffbc84b2a2275a88707f350a47)
=
1,
[SENSOR_GROUP_TYPE_MAX](_sensor.md#gga588325c4c22f56d09cda6e54df0d9a6cafdec26032d6c10626eb07a0812fe1d94)
} | 枚举传感器的硬件服务组。
[
更多...
](
_sensor.md#sensorgrouptype
)
|
|
[
SensorStatus
](
_sensor.md#sensorstatus
)
{
SENSOR_SUCCESS
=
0,
SENSOR_FAILURE
=
-1,
SENSOR_NOT_SUPPORT
=
-2,
SENSOR_INVALID_PARAM
=
-3,
SENSOR_INVALID_SERVICE
=
-4,
SENSOR_NULL_PTR
=
-5
} | 定义传感器模块返回值类型。
[
更多...
](
_sensor.md#sensorstatus
)
|
|
[
SensorTypeTag
](
_sensor.md#sensortypetag
)
{
SENSOR_TYPE_NONE
=
0,
SENSOR_TYPE_ACCELEROMETER
=
1,
SENSOR_TYPE_GYROSCOPE
=
2,
SENSOR_TYPE_PHOTOPLETHYSMOGRAPH
=
3,
SENSOR_TYPE_ELECTROCARDIOGRAPH
=
4,
SENSOR_TYPE_AMBIENT_LIGHT
=
5,
SENSOR_TYPE_MAGNETIC_FIELD
=
6,
SENSOR_TYPE_CAPACITIVE
=
7,
SENSOR_TYPE_BAROMETER
=
8,
SENSOR_TYPE_TEMPERATURE
=
9,
SENSOR_TYPE_HALL
=
10,
SENSOR_TYPE_GESTURE
=
11,
SENSOR_TYPE_PROXIMITY
=
12,
SENSOR_TYPE_HUMIDITY
=
13,
SENSOR_TYPE_MEDICAL_BEGIN
=
128,
SENSOR_TYPE_MEDICAL_END
=
160,
SENSOR_TYPE_PHYSICAL_MAX
=
255,
SENSOR_TYPE_ORIENTATION
=
256,
SENSOR_TYPE_GRAVITY
=
257,
SENSOR_TYPE_LINEAR_ACCELERATION
=
258,
SENSOR_TYPE_ROTATION_VECTOR
=
259,
SENSOR_TYPE_AMBIENT_TEMPERATURE
=
260,
SENSOR_TYPE_MAGNETIC_FIELD_UNCALIBRATED
=
261,
SENSOR_TYPE_GAME_ROTATION_VECTOR
=
262,
SENSOR_TYPE_GYROSCOPE_UNCALIBRATED
=
263,
SENSOR_TYPE_SIGNIFICANT_MOTION
=
264,
SENSOR_TYPE_PEDOMETER_DETECTION
=
265,
SENSOR_TYPE_PEDOMETER
=
266,
SENSOR_TYPE_GEOMAGNETIC_ROTATION_VECTOR
=
277,
SENSOR_TYPE_HEART_RATE
=
278,
SENSOR_TYPE_DEVICE_ORIENTATION
=
279,
SENSOR_TYPE_WEAR_DETECTION
=
280,
SENSOR_TYPE_ACCELEROMETER_UNCALIBRATED
=
281,
SENSOR_TYPE_MAX
} | 定义传感器类型标识。
[
更多...
](
_sensor.md#sensortypetag
)
|
|
[
SensorAccuracyType
](
_sensor.md#sensoraccuracytype
)
{
SENSOR_NO_ACCURACY
=
0,
SENSOR_LOW_ACCURACY
=
1,
SENSOR_MEDIUM_ACCURACY
=
2,
SENSOR_HIGH_ACCURACY
=
3,
SENSOR_MAX_ACCURACY
} | 传感器的精度类型。
[
更多...
](
_sensor.md#sensoraccuracytype
)
|
|
[
SensorRangeType
](
_sensor.md#sensorrangetype
)
{
SENSOR_RANGE_LEVEL1
=
0,
SENSOR_RANGE_LEVEL2
=
1,
SENSOR_RANGE_LEVEL3
=
2,
SENSOR_RANGE_LEVEL_MAX
} | 传感器的量程级别。
[
更多...
](
_sensor.md#sensorrangetype
)
|
|
[
SensorModeType
](
_sensor.md#sensormodetype
)
{
SENSOR_MODE_DEFAULT
=
0,
SENSOR_MODE_REALTIME
=
1,
SENSOR_MODE_ON_CHANGE
=
2,
SENSOR_MODE_ONE_SHOT
=
3,
SENSOR_MODE_FIFO_MODE
=
4,
SENSOR_MODE_MAX
} | 传感器的工作模式。
[
更多...
](
_sensor.md#sensormodetype
)
|
|
[
SensorGroupType
](
_sensor.md#sensorgrouptype
)
{
TRADITIONAL_SENSOR_TYPE
=
0,
MEDICAL_SENSOR_TYPE
=
1,
SENSOR_GROUP_TYPE_MAX
} | 枚举传感器的硬件服务组。
[
更多...
](
_sensor.md#sensorgrouptype
)
|
## **详细描述**
...
...
zh-cn/device-dev/api/types_8h.md
浏览文件 @
6caf0f7c
...
...
@@ -33,19 +33,19 @@
### 枚举
| 枚举 | 描述 |
| 枚举
名称
| 描述 |
| -------- | -------- |
|
[
OHOS::Camera::CamRetCode
](
_camera.md#camretcode
)
:
int32_t
{
[OHOS::Camera::NO_ERROR](_camera.md#gga9ecee2f0e6599644dc440c9e1c553b80aac4124a539038c0eb9752f19bd41db9a)
=
0,
[OHOS::Camera::CAMERA_BUSY](_camera.md#gga9ecee2f0e6599644dc440c9e1c553b80a6d812337e14eb19f8afb2e70f3aad1a0)
=
-1,
[OHOS::Camera::INSUFFICIENT_RESOURCES](_camera.md#gga9ecee2f0e6599644dc440c9e1c553b80a7250a9e68d64f0804d92f99e8cbc1e7e)
=
-2,
[OHOS::Camera::INVALID_ARGUMENT](_camera.md#gga9ecee2f0e6599644dc440c9e1c553b80a9cfb72153a13ecf08abb34d59bec2223)
=
-3,
[OHOS::Camera::METHOD_NOT_SUPPORTED](_camera.md#gga9ecee2f0e6599644dc440c9e1c553b80ae66837f5eefe837cf5777083e1aaadcc)
=
-4,
[OHOS::Camera::CAMERA_CLOSED](_camera.md#gga9ecee2f0e6599644dc440c9e1c553b80a0322e66dfb3b398ead3bd50c823415cd)
=
-5,
[OHOS::Camera::DEVICE_ERROR](_camera.md#gga9ecee2f0e6599644dc440c9e1c553b80a2b74d8a616b4360eec8826d9810c03c0)
=
-6
} | HDI接口的返回值。
[
更多...
](
_camera.md#camretcode
)
|
|
[
OHOS::Camera::ResultCallbackMode
](
_camera.md#resultcallbackmode
)
:
int32_t
{
[OHOS::Camera::PER_FRAME](_camera.md#gga0290782009631708fe5351c54f019353a25a4a7cc14577e328d08dd1a758f784c),
[OHOS::Camera::ON_CHANGED](_camera.md#gga0290782009631708fe5351c54f019353ab84abaca84197e5e75dc1210519ea37c)
} | metadata的上报模式。
[
更多...
](
_camera.md#resultcallbackmode
)
|
|
[
OHOS::Camera::OperationMode
](
_camera.md#operationmode
)
:
int32_t
{
[OHOS::Camera::NORMAL](_camera.md#ggac397708a7aefbcf48c8a32b8af367ffda66a457d6883b55722bda11ac9a47e4dd)
=
0
} | 流的使用模式。
[
更多...
](
_camera.md#operationmode
)
|
|
[
OHOS::Camera::StreamIntent
](
_camera.md#streamintent
)
:
int32_t
{
[OHOS::Camera::PREVIEW](_camera.md#gga2b195a400dc0113b8185900ddc231c19a2ec888585737101c7bc133d302e4ce0a)
=
0,
[OHOS::Camera::VIDEO](_camera.md#gga2b195a400dc0113b8185900ddc231c19ad480442d11e56ef84ac7018df5637b6a)
=
1,
[OHOS::Camera::STILL_CAPTURE](_camera.md#gga2b195a400dc0113b8185900ddc231c19a5898656f053185f8a374bc35cbd4d784)
=
2,
[OHOS::Camera::POST_VIEW](_camera.md#gga2b195a400dc0113b8185900ddc231c19a67891a15f68cdc23c2b1bb6fdfe2d72f)
=
3,
[OHOS::Camera::ANALYZE](_camera.md#gga2b195a400dc0113b8185900ddc231c19a817268e94893ff41b8a03147dfbbc94b)
=
4,
[OHOS::Camera::CUSTOM](_camera.md#gga2b195a400dc0113b8185900ddc231c19a4ca8b162608a384d4335d04a56ac3e72)
=
5
} | 流的类型。
[
更多...
](
_camera.md#streamintent
)
|
|
[
OHOS::Camera::EncodeType
](
_camera.md#encodetype
)
:
int32_t
{
[OHOS::Camera::ENCODE_TYPE_NULL](_camera.md#gga57d3c5974b8119b90f6f43592bd4b1d1af72ea69717272db8b03c0d2281c2f221)
=
0,
[OHOS::Camera::ENCODE_TYPE_H264](_camera.md#gga57d3c5974b8119b90f6f43592bd4b1d1a6d21ce4760d97641e66c9a6a58df6105)
=
1,
[OHOS::Camera::ENCODE_TYPE_H265](_camera.md#gga57d3c5974b8119b90f6f43592bd4b1d1a60e25172afdb6ca5f18db408485c1cdf)
=
2,
[OHOS::Camera::ENCODE_TYPE_JPEG](_camera.md#gga57d3c5974b8119b90f6f43592bd4b1d1a1cf15a45d92fa0eae74c778f09d4bae7)
=
3
} | 流数据的编码类型。
[
更多...
](
_camera.md#encodetype
)
|
|
[
OHOS::Camera::StreamSupportType
](
_camera.md#streamsupporttype
)
:
int32_t
{
[OHOS::Camera::DYNAMIC_SUPPORTED](_camera.md#gga2de5b91b51f744902c071f89d9302d56a96466427b9427c04c0a9f9a74e21b222),
[OHOS::Camera::RE_CONFIGURED_REQUIRED](_camera.md#gga2de5b91b51f744902c071f89d9302d56afb9ebd5b0f7137f06e0b636247e7419e),
[OHOS::Camera::NOT_SUPPORTED](_camera.md#gga2de5b91b51f744902c071f89d9302d56a5e0d17d563241a98d968bbdb5facf05e)
} | 动态配置流的切换方式,使用场景参考
[IsStreamsSupported](_camera.md#isstreamssupported)
。
[
更多...
](
_camera.md#streamsupporttype
)
|
|
[
OHOS::Camera::CameraStatus
](
_camera.md#camerastatus
)
{
[OHOS::Camera::UN_AVAILABLE](_camera.md#ggac2c065c30743f0053f460a6683845dadaefabd193aca6ec50ad022c4003b079bd)
=
0,
[OHOS::Camera::AVAILABLE](_camera.md#ggac2c065c30743f0053f460a6683845dada41bd9156c9456c38aa47cf0b8b2486a2)
=
1
} | Camera设备状态。
[
更多...
](
_camera.md#camerastatus
)
|
|
[
OHOS::Camera::FlashlightStatus
](
_camera.md#flashlightstatus
)
:
uint32_t
{
[OHOS::Camera::FLASHLIGHT_OFF](_camera.md#gga1a82bc94cb6ff38f7fd0dfcffab71df3a624df2112053caa6316c6ee443758d1a)
=
0,
[OHOS::Camera::FLASHLIGHT_ON](_camera.md#gga1a82bc94cb6ff38f7fd0dfcffab71df3a9f360d5fdf77e2f7c1c123f3ba45bc0c)
=
1,
[OHOS::Camera::FLASHLIGHT_UNAVAILABLE](_camera.md#gga1a82bc94cb6ff38f7fd0dfcffab71df3a7fae7a9c7a791d240f3b6f6399988e8c)
=
2
} | 闪光灯状态。
[
更多...
](
_camera.md#flashlightstatus
)
|
|
[
OHOS::Camera::CameraEvent
](
_camera.md#cameraevent
)
:
uint32_t
{
[OHOS::Camera::CAMERA_EVENT_DEVICE_ADD](_camera.md#gga14253812c3a39d52d827589bf5e5b970a85028d1dd16bef4b3f60e9543f2c89d8)
=
0,
[OHOS::Camera::CAMERA_EVENT_DEVICE_RMV](_camera.md#gga14253812c3a39d52d827589bf5e5b970a715b664103cdf584fb48ed5e7c591c06)
=
1
} | Camera事件。
[
更多...
](
_camera.md#cameraevent
)
|
|
[
OHOS::Camera::ErrorType
](
_camera.md#errortype
)
:
uint32_t
{
[OHOS::Camera::FATAL_ERROR](_camera.md#gga4d1b650185695d9df8652593a7bc522dad0dde9e602d14d5b583be24c5014f998)
=
0,
[OHOS::Camera::REQUEST_TIMEOUT](_camera.md#gga4d1b650185695d9df8652593a7bc522da2b8e229bcb457de66e7b2882502a4df6)
=
1
} | 设备错误类型,用于设备错误回调
**OnError**。
[
更多...
](
_camera.md#errortype
)
|
|
[
OHOS::Camera::StreamError
](
_camera.md#streamerror
)
{
[OHOS::Camera::UNKNOWN_ERROR](_camera.md#gga376e6d566c73ec98e29b7dd93763aee6ae724e09ec34e66e49c86734ceffa2a26)
=
0,
[OHOS::Camera::BUFFER_LOST](_camera.md#gga376e6d566c73ec98e29b7dd93763aee6a9300ec08f81b121b74ec589fca815952)
=
1
} | 流错误类型,用于流错误类型
**CaptureErrorInfo**。
[
更多...
](
_camera.md#streamerror
)
|
|
[
OHOS::Camera::CamRetCode
](
_camera.md#camretcode
)
:
int32_t
{
OHOS::Camera::NO_ERROR
=
0,
OHOS::Camera::CAMERA_BUSY
=
-1,
OHOS::Camera::INSUFFICIENT_RESOURCES
=
-2,
OHOS::Camera::INVALID_ARGUMENT
=
-3,
OHOS::Camera::METHOD_NOT_SUPPORTED
=
-4,
OHOS::Camera::CAMERA_CLOSED
=
-5,
OHOS::Camera::DEVICE_ERROR
=
-6
} | HDI接口的返回值。
[
更多...
](
_camera.md#camretcode
)
|
|
[
OHOS::Camera::ResultCallbackMode
](
_camera.md#resultcallbackmode
)
:
int32_t
{
OHOS::Camera::PER_FRAME,
OHOS::Camera::ON_CHANGED
} | metadata的上报模式。
[
更多...
](
_camera.md#resultcallbackmode
)
|
|
[
OHOS::Camera::OperationMode
](
_camera.md#operationmode
)
:
int32_t
{
OHOS::Camera::NORMAL
=
0
} | 流的使用模式。
[
更多...
](
_camera.md#operationmode
)
|
|
[
OHOS::Camera::StreamIntent
](
_camera.md#streamintent
)
:
int32_t
{
OHOS::Camera::PREVIEW
=
0,
OHOS::Camera::VIDEO
=
1,
OHOS::Camera::STILL_CAPTURE
=
2,
OHOS::Camera::POST_VIEW
=
3,
OHOS::Camera::ANALYZE
=
4,
OHOS::Camera::CUSTOM
=
5
} | 流的类型。
[
更多...
](
_camera.md#streamintent
)
|
|
[
OHOS::Camera::EncodeType
](
_camera.md#encodetype
)
:
int32_t
{
OHOS::Camera::ENCODE_TYPE_NULL
=
0,
OHOS::Camera::ENCODE_TYPE_H264
=
1,
OHOS::Camera::ENCODE_TYPE_H265
=
2,
OHOS::Camera::ENCODE_TYPE_JPEG
=
3
} | 流数据的编码类型。
[
更多...
](
_camera.md#encodetype
)
|
|
[
OHOS::Camera::StreamSupportType
](
_camera.md#streamsupporttype
)
:
int32_t
{
OHOS::Camera::DYNAMIC_SUPPORTED,
OHOS::Camera::RE_CONFIGURED_REQUIRED,
OHOS::Camera::NOT_SUPPORTED
} | 动态配置流的切换方式,使用场景参考
[IsStreamsSupported](_camera.md#isstreamssupported)
。
[
更多...
](
_camera.md#streamsupporttype
)
|
|
[
OHOS::Camera::CameraStatus
](
_camera.md#camerastatus
)
{
OHOS::Camera::UN_AVAILABLE
=
0,
OHOS::Camera::AVAILABLE
=
1
} | Camera设备状态。
[
更多...
](
_camera.md#camerastatus
)
|
|
[
OHOS::Camera::FlashlightStatus
](
_camera.md#flashlightstatus
)
:
uint32_t
{
OHOS::Camera::FLASHLIGHT_OFF
=
0,
OHOS::Camera::FLASHLIGHT_ON
=
1,
OHOS::Camera::FLASHLIGHT_UNAVAILABLE
=
2
} | 闪光灯状态。
[
更多...
](
_camera.md#flashlightstatus
)
|
|
[
OHOS::Camera::CameraEvent
](
_camera.md#cameraevent
)
:
uint32_t
{
OHOS::Camera::CAMERA_EVENT_DEVICE_ADD
=
0,
OHOS::Camera::CAMERA_EVENT_DEVICE_RMV
=
1
} | Camera事件。
[
更多...
](
_camera.md#cameraevent
)
|
|
[
OHOS::Camera::ErrorType
](
_camera.md#errortype
)
:
uint32_t
{
OHOS::Camera::FATAL_ERROR
=
0,
OHOS::Camera::REQUEST_TIMEOUT
=
1
} | 设备错误类型,用于设备错误回调
**OnError**。
[
更多...
](
_camera.md#errortype
)
|
|
[
OHOS::Camera::StreamError
](
_camera.md#streamerror
)
{
OHOS::Camera::UNKNOWN_ERROR
=
0,
OHOS::Camera::BUFFER_LOST
=
1
} | 流错误类型,用于流错误类型
**CaptureErrorInfo**。
[
更多...
](
_camera.md#streamerror
)
|
## **详细描述**
...
...
zh-cn/device-dev/api/usbd__type_8h.md
浏览文件 @
6caf0f7c
...
...
@@ -37,10 +37,10 @@
### 枚举
| 枚举 | 描述 |
| 枚举
名称
| 描述 |
| -------- | -------- |
|
[
UsbdBulkCbCmd
](
_u_s_b.md#usbdbulkcbcmd
)
{
[CMD_USBD_BULK_CALLBACK_READ](_u_s_b.md#gga734dda3df39a921fae88ada278bf35a3a5f84dff517954bbde58a2e1a0b8e8da6),
[CMD_USBD_BULK_CALLBACK_WRITE](_u_s_b.md#gga734dda3df39a921fae88ada278bf35a3ac7fc2d22d4d348c672003c308263b9fb)
} | 批量回调命令字。
[
更多...
](
_u_s_b.md#usbdbulkcbcmd
)
|
|
[
UsbdDeviceAction
](
_u_s_b.md#usbddeviceaction
)
{
[ACT_DEVUP](_u_s_b.md#gga4b7620d940f58152cd17a12401120c16af3ed12ba6838a4ebb16ae0713cb2324f)
=
0,
[ACT_DEVDOWN](_u_s_b.md#gga4b7620d940f58152cd17a12401120c16a97801ad0ac063dbb69d698adc19159bf),
[ACT_UPDEVICE](_u_s_b.md#gga4b7620d940f58152cd17a12401120c16aecf16e36110fbe276f2a11e91252de20),
[ACT_DOWNDEVICE](_u_s_b.md#gga4b7620d940f58152cd17a12401120c16a45115ba5d58e4a5358acae70a9fc33d4)
} | 主机端和设备端插拔事件。
[
更多...
](
_u_s_b.md#usbddeviceaction
)
|
|
[
UsbdBulkCbCmd
](
_u_s_b.md#usbdbulkcbcmd
)
{
CMD_USBD_BULK_CALLBACK_READ,
CMD_USBD_BULK_CALLBACK_WRITE
} | 批量回调命令字。
[
更多...
](
_u_s_b.md#usbdbulkcbcmd
)
|
|
[
UsbdDeviceAction
](
_u_s_b.md#usbddeviceaction
)
{
ACT_DEVUP
=
0,
ACT_DEVDOWN,
ACT_UPDEVICE,
ACT_DOWNDEVICE
} | 主机端和设备端插拔事件。
[
更多...
](
_u_s_b.md#usbddeviceaction
)
|
## **详细描述**
...
...
zh-cn/device-dev/api/vibrator__type_8h.md
浏览文件 @
6caf0f7c
...
...
@@ -13,11 +13,11 @@
### 枚举
| 枚举 | 描述 |
| 枚举
名称
| 描述 |
| -------- | -------- |
|
[
VibratorMode
](
_vibrator.md#vibratormode
)
{
[VIBRATOR_MODE_ONCE](_vibrator.md#ggadbbc422555ccc89c4d9cf80f5175af2fa5da1f5dd1752e8ef6b8ade59db31f80f)
=
0,
[VIBRATOR_MODE_PRESET](_vibrator.md#ggadbbc422555ccc89c4d9cf80f5175af2fa34c456f3c8038b601c4a0276f639f666)
=
1,
[VIBRATOR_MODE_BUTT](_vibrator.md#ggadbbc422555ccc89c4d9cf80f5175af2faa548af2d7414a81a8036e77b9bcd6606)
} | 枚举马达振动模式。
[
更多...
](
_vibrator.md#vibratormode
)
|
|
[
VibratorStatus
](
_vibrator.md#vibratorstatus
)
{
[VIBRATOR_SUCCESS](_vibrator.md#p181591120650)
=
0,
[VIBRATOR_NOT_PERIOD](_vibrator.md#p515914207520)
=
-1,
[VIBRATOR_NOT_INTENSITY](_vibrator.md#p015972013512)
=
-2,
[VIBRATOR_NOT_FREQUENCY](_vibrator.md#p14260156580)
=
-3} | 枚举马达振动模式。
[
更多...
](
_vibrator.md#vibratorstatus
)
|
|
[
VibratorInfo
](
_vibrator.md#vibratorinfo
)
{
[isSupportIntensity](_vibrator.md#p16982125191511),
[isSupportFrequency](_vibrator.md#p79831625101517),
[intensityMaxValue](_vibrator.md#p1798317259153),
[intensityMinValue](_vibrator.md#p196672031811),
[frequencyMaxValue](_vibrator.md#p14421742189),
[
frequencyMinValue
](
_vibrator.md#p61323771819
)
} | 定义马达参数。
[
更多...
](
_vibrator.md#vibratorinfo
)
|
|
[
VibratorMode
](
_vibrator.md#vibratormode
)
{
VIBRATOR_MODE_ONCE
=
0,
VIBRATOR_MODE_PRESET
=
1,
VIBRATOR_MODE_BUTT
} | 枚举马达振动模式。
[
更多...
](
_vibrator.md#vibratormode
)
|
|
[
VibratorStatus
](
_vibrator.md#vibratorstatus
)
{
VIBRATOR_SUCCESS
=
0,
VIBRATOR_NOT_PERIOD
=
-1,
VIBRATOR_NOT_INTENSITY
=
-2,
VIBRATOR_NOT_FREQUENCY
=
-3} | 枚举马达振动模式。
[
更多...
](
_vibrator.md#vibratorstatus
)
|
|
[
VibratorInfo
](
_vibrator.md#vibratorinfo
)
{
isSupportIntensity,
isSupportFrequency,
intensityMaxValue,
intensityMinValue,
frequencyMaxValue,
frequencyMinValue
} | 定义马达参数。
[
更多...
](
_vibrator.md#vibratorinfo
)
|
## **详细描述**
...
...
zh-cn/device-dev/api/wifi__hal__base__feature_8h.md
浏览文件 @
6caf0f7c
...
...
@@ -31,7 +31,7 @@
| 枚举 | 描述 |
| -------- | -------- |
|
[
FeatureType
](
_w_l_a_n.md#featuretype
)
{
[PROTOCOL_80211_IFTYPE_UNSPECIFIED](_w_l_a_n.md#ggad2b28a6ade408676d1371ea941824012a6b209b916aabd18f2a950a82e68b6a4c),
[PROTOCOL_80211_IFTYPE_ADHOC](_w_l_a_n.md#ggad2b28a6ade408676d1371ea941824012a0926a98ddc2ceec4ba58ebfc01c5fe35),
[PROTOCOL_80211_IFTYPE_STATION](_w_l_a_n.md#ggad2b28a6ade408676d1371ea941824012acd26f8cefbd658e9ea02feecefd054fb),
[PROTOCOL_80211_IFTYPE_AP](_w_l_a_n.md#ggad2b28a6ade408676d1371ea941824012a9e92654b9ab6ed6eb62868f1e0e4ea8f),
[PROTOCOL_80211_IFTYPE_AP_VLAN](_w_l_a_n.md#ggad2b28a6ade408676d1371ea941824012a991ad1a3f8c43b06c4eeb9dc88acdb1e),
[PROTOCOL_80211_IFTYPE_WDS](_w_l_a_n.md#ggad2b28a6ade408676d1371ea941824012aa25631c32cd6c996a7c96ba4f61299e2),
[PROTOCOL_80211_IFTYPE_MONITOR](_w_l_a_n.md#ggad2b28a6ade408676d1371ea941824012a3ff1c1358af5a0c50b64e0ef0e96a970),
[PROTOCOL_80211_IFTYPE_MESH_POINT](_w_l_a_n.md#ggad2b28a6ade408676d1371ea941824012a382756b8a71015cd536cdbc113c4f483),
[PROTOCOL_80211_IFTYPE_P2P_CLIENT](_w_l_a_n.md#ggad2b28a6ade408676d1371ea941824012acfd81d6e484c6f7a3b863327af112cfc),
[PROTOCOL_80211_IFTYPE_P2P_GO](_w_l_a_n.md#ggad2b28a6ade408676d1371ea941824012abca0ccb5cf4c14af9b6ff0bd9eeb4173),
[PROTOCOL_80211_IFTYPE_P2P_DEVICE](_w_l_a_n.md#ggad2b28a6ade408676d1371ea941824012ad63ad4a5a66892e842e4d75cc82b0755),
[PROTOCOL_80211_IFTYPE_NUM](_w_l_a_n.md#p3611518433)
} | 枚举WLAN相关特性的类型
[
FeatureType
](
_w_l_a_n.md#featuretype
)
。
[
更多...
](
_w_l_a_n.md#featuretype
)
|
|
[
FeatureType
](
_w_l_a_n.md#featuretype
)
{
PROTOCOL_80211_IFTYPE_UNSPECIFIED,
PROTOCOL_80211_IFTYPE_ADHOC,
PROTOCOL_80211_IFTYPE_STATION,
PROTOCOL_80211_IFTYPE_AP,
PROTOCOL_80211_IFTYPE_AP_VLAN,
PROTOCOL_80211_IFTYPE_WDS,
PROTOCOL_80211_IFTYPE_MONITOR,
PROTOCOL_80211_IFTYPE_MESH_POINT,
PROTOCOL_80211_IFTYPE_P2P_CLIENT,
PROTOCOL_80211_IFTYPE_P2P_GO,
PROTOCOL_80211_IFTYPE_P2P_DEVICE,
PROTOCOL_80211_IFTYPE_NUM
} | 枚举WLAN相关特性的类型
[
FeatureType
](
_w_l_a_n.md#featuretype
)
。
[
更多...
](
_w_l_a_n.md#featuretype
)
|
### 函数
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录