DocumentPickerCoordinatorDelegate
public protocol DocumentPickerCoordinatorDelegate : AnyObject
The CameraViewControllerDelegate protocol defines methods that allow you to handle picked documents from both Gallery and Files Explorer.
-
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: [GiniCaptureDocument])
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.