CameraSelectionSelectFrontFacingCameraOrDefault Method |
Select first front-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 SelectFrontFacingCameraOrDefault(
DeviceInformationCollection devices
)
Public Shared Function SelectFrontFacingCameraOrDefault (
devices As DeviceInformationCollection
) As DeviceInformation
public:
static DeviceInformation^ SelectFrontFacingCameraOrDefault(
DeviceInformationCollection^ devices
)
static member SelectFrontFacingCameraOrDefault :
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