ThumbnailsDelegate
public protocol ThumbnailsDelegate : AnyObject
Interface for the delegate that can report when the thumbnails are prepared or have failed.
-
Called when the
AssetThumbnails
owning class has prepared thumbnail data available on thethumbnails()
APIDeclaration
Swift
func prepared()
-
Called when the preparation of the thumbnails has errored
Declaration
Swift
func failed(error: ThumbnailError, message: String)
Parameters
error
the
ThumbnailError
identifier of the errormessage
String representation of additional error information e.g. network error info if a communication error