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: 5.19.3.10 (5.19.3.10)
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.
Version Information

Scandit.Recognition

Supported in: 1.0.0.0
See Also