CameraSelectionSelectBackFacingCameraOrDefault Method |
Select first back-facing camera attached to the device, if there is any. In case there is none,
return the first camera.
Namespace: Scandit.BarcodePickerAssembly: Scandit.BarcodePicker (in Scandit.BarcodePicker.dll) Version: 5.14.5.10 (5.14.5.10)
Syntax public static DeviceInformation SelectBackFacingCameraOrDefault(
DeviceInformationCollection devices
)
Public Shared Function SelectBackFacingCameraOrDefault (
devices As DeviceInformationCollection
) As DeviceInformation
public:
static DeviceInformation^ SelectBackFacingCameraOrDefault(
DeviceInformationCollection^ devices
)
static member SelectBackFacingCameraOrDefault :
devices : DeviceInformationCollection -> DeviceInformation
Parameters
- devices
- Type: Windows.Devices.EnumerationDeviceInformationCollection
list of camera devices
Return Value
Type:
DeviceInformationA valid camera device, or null in case no camera could be found.
Version Information Scandit.Recognition
Supported in: 1.0.0.0
See Also