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: 4.16.0.0 (4.16.0.0)
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.
See Also