harmony 鸿蒙native_avscreen_capture_errors.h
native_avscreen_capture_errors.h
Overview
The native_avscreen_capture_errors.h file declares the error codes generated during screen capture.
Library: libnative_avscreen_capture.so
System capability: SystemCapability.Multimedia.Media.AVScreenCapture
Since: 10
Related module: AVScreenCapture
Summary
Enums
|Name|typedef Keyword|Description| |–|–|–| |OH_AVSCREEN_CAPTURE_ErrCode|OH_AVSCREEN_CAPTURE_ErrCode|Defines an enum for the error codes generated during screen capture.|
Enum Description
OH_AVSCREEN_CAPTURE_ErrCode
enum OH_AVSCREEN_CAPTURE_ErrCode
Description
Enumerates the error codes generated during screen capture.
System capability: SystemCapability.Multimedia.Media.AVScreenCapture
Since: 10
|Enum|Description| |–|–| |AV_SCREEN_CAPTURE_ERR_BASE = 0|Basic value returned when an API call error occurs.| |AV_SCREEN_CAPTURE_ERR_OK = AV_SCREEN_CAPTURE_ERR_BASE|Operation successful.| |AV_SCREEN_CAPTURE_ERR_NO_MEMORY = AV_SCREEN_CAPTURE_ERR_BASE + 1|Insufficient memory.| |AV_SCREEN_CAPTURE_ERR_OPERATE_NOT_PERMIT = AV_SCREEN_CAPTURE_ERR_BASE + 2|Operation not allowed.| |AV_SCREEN_CAPTURE_ERR_INVALID_VAL = AV_SCREEN_CAPTURE_ERR_BASE + 3|Invalid parameter.| |AV_SCREEN_CAPTURE_ERR_IO = AV_SCREEN_CAPTURE_ERR_BASE + 4|Abnormal input and output streams.| |AV_SCREEN_CAPTURE_ERR_TIMEOUT = AV_SCREEN_CAPTURE_ERR_BASE + 5|Network timeout.| |AV_SCREEN_CAPTURE_ERR_UNKNOWN = AV_SCREEN_CAPTURE_ERR_BASE + 6|Unknown error.| |AV_SCREEN_CAPTURE_ERR_SERVICE_DIED = AV_SCREEN_CAPTURE_ERR_BASE + 7|Media service terminated.| |AV_SCREEN_CAPTURE_ERR_INVALID_STATE = AV_SCREEN_CAPTURE_ERR_BASE + 8|Unsupported operation in this state.| |AV_SCREEN_CAPTURE_ERR_UNSUPPORT = AV_SCREEN_CAPTURE_ERR_BASE + 9|Unsupported interface.| |AV_SCREEN_CAPTURE_ERR_EXTEND_START = AV_SCREEN_CAPTURE_ERR_BASE + 100|Unexpected error.|
你可能感兴趣的鸿蒙文章
harmony 鸿蒙OH_AVRecorder_Config
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦