Filestack Documentation

Protocol Picker​Navigation​Controller​Delegate

@objc(FSPickerNavigationControllerDelegate) public protocol PickerNavigationControllerDelegate: AnyObject  

This protocol contains the function signatures any PickerNavigationController delegate should conform to.

PickerNavigationControllerDelegate PickerNavigationControllerDelegate AnyObject AnyObject PickerNavigationControllerDelegate->AnyObject

Conforms To

AnyObject

Requirements

picker​Picked​Files(picker:​file​URLs:​)

@objc func pickerPickedFiles(picker: PickerNavigationController, fileURLs: [URL]) 

Called when the picker finishes picking files originating from the local device.

picker​Uploaded​Files(picker:​responses:​)

@objc func pickerUploadedFiles(picker: PickerNavigationController, responses: [JSONResponse]) 

Called when the picker finishes uploading files originating from the local device to the storage destination.

picker​Stored​File(picker:​response:​)

@objc func pickerStoredFile(picker: PickerNavigationController, response: StoreResponse) 

Called when the picker finishes storing a file originating from a cloud source into the storage destination.

Optional Requirements

picker​Reported​Upload​Progress(picker:​progress:​)

@objc optional func pickerReportedUploadProgress(picker: PickerNavigationController, progress: Float) 

Called when the picker reports progress during a file or set of files being uploaded.

picker​Was​Dismissed(picker:​)

@objc optional func pickerWasDismissed(picker: PickerNavigationController) 

Called after the picker was dismissed.