CameraSelectionSelectCameraFacingOrDefault Method |
Select camera with the given facing preference.
Namespace: Scandit.BarcodePickerAssembly: Scandit.BarcodePicker (in Scandit.BarcodePicker.dll) Version: 5.14.5.10 (5.14.5.10)
Syntax public static DeviceInformation SelectCameraFacingOrDefault(
DeviceInformationCollection devices,
CameraFacingPreference preference
)
Public Shared Function SelectCameraFacingOrDefault (
devices As DeviceInformationCollection,
preference As CameraFacingPreference
) As DeviceInformation
public:
static DeviceInformation^ SelectCameraFacingOrDefault(
DeviceInformationCollection^ devices,
CameraFacingPreference preference
)
static member SelectCameraFacingOrDefault :
devices : DeviceInformationCollection *
preference : CameraFacingPreference -> DeviceInformation
Parameters
- devices
- Type: Windows.Devices.EnumerationDeviceInformationCollection
- preference
- Type: Scandit.BarcodePickerCameraFacingPreference
Return Value
Type:
DeviceInformationVersion Information Scandit.Recognition
Supported in: 1.0.0.0
See Also