DocumentPickerCoordinatorDelegate
public protocol DocumentPickerCoordinatorDelegate : AnyObject
The CameraViewControllerDelegate protocol defines methods that allow you to handle picked documents from both Gallery and Files Explorer.
Note
Component API only.-
Called when a user picks one or several files from either the gallery or the files explorer.
Declaration
Swift
func documentPicker(_ coordinator: DocumentPickerCoordinator, didPick documents: [GiniVisionDocument])
Parameters
coordinator
DocumentPickerCoordinator
where the documents were imported.documents
One or several documents imported.
-
Called when the picked documents could not be opened.
Declaration
Swift
func documentPicker(_ coordinator: DocumentPickerCoordinator, failedToPickDocumentsAt urls: [URL])
Parameters
coordinator
DocumentPickerCoordinator
where the documents were imported.urls
URLs of the picked documents.