CameraSelectionSelectCameraFacingOrDefault Method |
Select camera with the given facing preference.
Namespace: Scandit.BarcodePickerAssembly: Scandit.BarcodePicker (in Scandit.BarcodePicker.dll) Version: 4.16.0.0 (4.16.0.0)
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:
DeviceInformationSee Also