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.BarcodePickerAssembly: Scandit.BarcodePicker (in Scandit.BarcodePicker.dll) Version: 4.16.0.0 (4.16.0.0)
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.
See Also