Click or drag to resize
CameraSelectionFindCameraFacingOrDefault Method
Queries the system for camera devices and returns the first camera that matches the given camera facing preference. In case no camera matches, the first camera is returned.

Namespace: Scandit.BarcodePicker
Assembly: Scandit.BarcodePicker (in Scandit.BarcodePicker.dll) Version: 4.16.0.0 (4.16.0.0)
Syntax
public static Task<DeviceInformation> FindCameraFacingOrDefault(
	CameraFacingPreference preference
)

Parameters

preference
Type: Scandit.BarcodePickerCameraFacingPreference
camera facing preference

Return Value

Type: TaskDeviceInformation
A valid camera device, or null in case no camera could be found.
See Also