ThumbnailsDelegate
public protocol ThumbnailsDelegate : AnyObject
Interface for the delegate that can report when the thumbnails are prepared or have failed.
-
Called when the
AssetThumbnailsowning 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
errorthe
ThumbnailErroridentifier of the errormessageString representation of additional error information e.g. network error info if a communication error