StartImageCaptureAsync method
Opens Activity (if Android) or ViewController (if iOS) with controls for the image capture scenario.
Parameters passed to the method are objects that contain user interface, camera and capture process settings. All parameters can be null. In case null is passed as a parameter instead of the settings object, default settings will be used.
Task<IImageCaptureResult> StartImageCaptureAsync(
UISettings uiSettings,
CameraSettings cameraSettings,
ImageCaptureSettings captureSettings
);
Parameters
- uiSettings
- Settings for tuning the user interface appearance, represented by a UISettings class object. Is null by default.
- cameraSettings
- Settings of the device camera, represented by a CameraSettings class object. Is null by default.
- captureSettings
- Capture scenario settings, such as required number of pages to be captured, export compression type, etc. This parameter is represented by an ImageCaptureSettings class object. Is null by default.
Return values
When images were captured successfully, result is returned as an IImageCaptureResult object.
If capture process was interrupted by user, TaskCanceledException is thrown.
In case error occurred during capture process, Exception is thrown.
3/2/2022 12:59:15 PM