Device Error
设备相关错误码
此枚举定义了设备操作可能返回的错误码。
响应场景
| 错误 | 值 | 描述 |
NO_ERROR | 0 | 操作成功 |
NO_DEVICE_DETECTED | 1 | 未检测到设备 |
NO_SYSTEM_PERMISSION | 2 | 没有系统权限 |
NOT_SUPPORT_CAPTURE | 3 | 不支持采集 |
OCCUPIED_ERROR | 4 | 设备已占用 |
UNKNOWN_ERROR | 5 | 未知错误 |
Entries
Functions
Link copied to clipboard
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared.