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.BarcodePicker
Assembly:
Scandit.BarcodePicker (in Scandit.BarcodePicker.dll) Version: 5.19.3.10 (5.19.3.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