Device Error
Device related error codes
This enum defines the error codes that device operations may return.
| Error | Value | Description |
NO_ERROR | 0 | Operation successful |
NO_DEVICE_DETECTED | 1 | No device detected |
NO_SYSTEM_PERMISSION | 2 | No system permission |
NOT_SUPPORT_CAPTURE | 3 | Capture not supported |
OCCUPIED_ERROR | 4 | Device occupied |
UNKNOWN_ERROR | 5 | Unknown error |
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.