AssetThumbnails
Entry point for the Thumbnail on Seek functionality
-
Default constructor used to build the
AssetThumbnailclass -
Fetches the thumbnails from the given URI and notifies the state when prepared/failed back through the passed listener
Note
if either of the passed parameters arenil, this function performs no operation -
Reset the object to it’s initial state, cancelling any ongoing operations and clearing any fetched data and the listener pointer. To be called if the thumbnail fetch operation is no longer required before the passed
ThumbnailsDelegateobject is notified of completion (in error or success) -
Return the ordered start times (in milliseconds) and prepared Dictionary of start time (in milliseconds) to thumbnails to the caller.
Note
will only return data afterprepared()has been called onThumbnailsDelegatepassed withprepareThumbnails(), otherwise returnsnil. Once called this instance will no longer hold a reference to the thumbnail data, further calls to this function without a call toprepareThumbnailswill returnnil.
AssetThumbnails Class Reference