CameraSelectionFindFrontFacingCameraOrDefault Method |
Queries the system for camera devices and returns the first front-facing camera, or the
default camera in case no front-facing camera is available.
Namespace: Scandit.BarcodePickerAssembly: Scandit.BarcodePicker (in Scandit.BarcodePicker.dll) Version: 5.9.2.10 (5.9.2.10)
Syntax public static Task<DeviceInformation> FindFrontFacingCameraOrDefault()
Public Shared Function FindFrontFacingCameraOrDefault As Task(Of DeviceInformation)
public:
static Task<DeviceInformation^>^ FindFrontFacingCameraOrDefault()
static member FindFrontFacingCameraOrDefault : unit -> Task<DeviceInformation>
Return Value
Type:
TaskDeviceInformationA valid camera device, or null in case no camera could be found.
See Also