DeviceError

Device related error codes

This enum defines the error codes that device operations may return.

ErrorValueDescription
NO_ERROR0Operation successful
NO_DEVICE_DETECTED1No device detected
NO_SYSTEM_PERMISSION2No system permission
NOT_SUPPORT_CAPTURE3Capture not supported
OCCUPIED_ERROR4Device occupied
UNKNOWN_ERROR5Unknown error

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val value: Int

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.