DeviceInfo

fun DeviceInfo(standardVersion: UINT16 = 0, vendorExtensionId: UINT32 = 0, vendorExtensionVersion: UINT16 = 0, vendorExtensionDesc: String? = null, functionalMode: UINT16 = 0, operationsSupported: IntArray = IntArray(0), eventsSupported: IntArray = IntArray(0), devicePropertiesSupported: IntArray = IntArray(0), captureFormats: IntArray = IntArray(0), imageFormats: IntArray = IntArray(0), manufacture: String? = null, model: String? = null, deviceVersion: String? = null, serialNumber: String? = null)

Parameters

standardVersion

Highest version of the standard that the device can support.

vendorExtensionId

Provides the context for interpretation of any vendor extensions used by this device. (default: 0x00000000)

vendorExtensionVersion

The vendor-specific version number of extensions that are supported.

vendorExtensionDesc

An optional string used to hold a human-readable description of the VendorExtensionID.

functionalMode

An optional field used to hold the functional mode. (default: zero) 0x0001 sleep mode

operationsSupported

array of OperationCodes representing operations that the device is currently supporting

eventsSupported

array of EventCodes representing the events that are currently generated by the device in appropriate situations

devicePropertiesSupported

array of DevicePropCodes representing DeviceProperties that are currently exposed for reading and/or modification

captureFormats

data formats in ObjectFormatCode form that the device can create using an InitiateCapture operation and/or an InitiateOpenCapture operation

imageFormats

list of image formats in ObjectFormatCode form that the device supports in order of highest preference to lowest preference.

manufacture

human-readable string of the Responder’s manufacturer.

model

human-readable string of the model name.

deviceVersion

human-readable string of firmware or software version in a vendor-specific way

serialNumber

human-readable string as a unique value among all devices sharing identical Model and Device Version fields