java.lang.Object | |
↳ | com.datalogic.decode.CameraInputDevice |
Input device representing a Camera. If this is set as the current input device in the BarcodeManager, the frames will be captured from the specified Camera.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CameraInputDevice.FitScreenPreviewDisplayMode | Class representing the display mode used to fit the preview to the screen on the shortest size. | ||||||||||
CameraInputDevice.ManualPositioningPreviewDisplayMode | Class representing the display mode used to manually position the preview. | ||||||||||
CameraInputDevice.PreviewDisplayMode | Abstract class representing the display mode to use for the camera preview. | ||||||||||
CameraInputDevice.PreviewSize | Class representing a preview size. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the ID of the camera as seen by the Android system.
| |||||||||||
Returns the current preview size.
| |||||||||||
Returns the camera facing as defined by the Android system.
| |||||||||||
Returns the name of the input device.
| |||||||||||
Returns the camera orientation as defined by the Android system.
| |||||||||||
Returns the display mode in use of the preview.
| |||||||||||
Returns the supported preview sizes.
| |||||||||||
Returns the type of input device between the ones defined by the
InputDevice.Type enumeration. | |||||||||||
Sets the current preview size.
| |||||||||||
Sets the current display mode of the preview.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.datalogic.decode.InputDevice
|
Returns the ID of the camera as seen by the Android system.
Returns the current preview size.
Returns the camera facing as defined by the Android system.
Returns the name of the input device.
Returns the camera orientation as defined by the Android system.
Returns the display mode in use of the preview.
Returns the supported preview sizes.
Returns the type of input device between the ones defined by the
InputDevice.Type
enumeration.
Sets the current preview size.
currentPreviewSize | The preview size to set. |
---|
Sets the current display mode of the preview.
previewDisplayMode | The display mode to set. |
---|