Click or drag to resize

CameraSelection Class

Helper class for selecting the camera based on the facing direction suitable for passing to OpenCameraAndStartScanningAsync(DeviceInformation).
Inheritance Hierarchy
SystemObject
  Scandit.BarcodePickerCameraSelection

Namespace:  Scandit.BarcodePicker
Assembly:  Scandit.BarcodePicker (in Scandit.BarcodePicker.dll) Version: 5.15.2.10 (5.15.2.10)
Syntax
public static class CameraSelection

The CameraSelection type exposes the following members.

Methods
  NameDescription
Public methodStatic memberFindBackFacingCameraOrDefault
Queries the system for camera devices and returns the first back-facing camera, or the default camera in case no back-facing camera is available.
Public methodStatic memberFindCameraFacingOrDefault
Queries the system for camera devices and returns the first camera that matches the given camera facing preference. In case no camera matches, the first camera is returned.
Public methodStatic memberFindFrontFacingCameraOrDefault
Queries the system for camera devices and returns the first front-facing camera, or the default camera in case no front-facing camera is available.
Public methodStatic memberGetAllCameras
Get the cameras from the last enumeration.
Public methodStatic memberSelectBackFacingCameraOrDefault
Select first back-facing camera attached to the device, if there is any. In case there is none, return the first camera.
Public methodStatic memberSelectCameraFacingOrDefault
Select camera with the given facing preference.
Public methodStatic memberSelectFrontFacingCameraOrDefault
Select first front-facing camera attached to the device, if there is any. In case there is none, return the first camera.
Top
Version Information

Scandit.Recognition

Supported in: 1.0.0.0
See Also