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: [GiniCaptureDocument])Parameters
coordinatorDocumentPickerCoordinatorwhere the documents were imported.documentsOne or several documents imported.
-
Called when the picked documents could not be opened.
Declaration
Swift
func documentPicker(_ coordinator: DocumentPickerCoordinator, failedToPickDocumentsAt urls: [URL])Parameters
coordinatorDocumentPickerCoordinatorwhere the documents were imported.urlsURLs of the picked documents.
View on GitHub
DocumentPickerCoordinatorDelegate Protocol Reference