public static interface PreviewThumbnailView.OnPreviewChangeListener
PreviewThumbnailView
's listenerModifier and Type | Method and Description |
---|---|
void |
onPreview(PreviewThumbnailView previewThumbnailView,
int progress,
boolean fromUser)
Callback triggered when the Preview Thumbnail process is in progress
|
void |
onStartPreview(PreviewThumbnailView previewThumbnailView,
int progress)
Callback triggered when the Preview Thumbnail process has started
|
void |
onStopPreview(PreviewThumbnailView previewThumbnailView,
int progress)
Callback triggered when the Preview Thumbnail process has stopped
|
void onStartPreview(@NonNull PreviewThumbnailView previewThumbnailView, int progress)
previewThumbnailView
- the PreviewThumbnailView
triggering this actionprogress
- the PreviewThumbnailView
's current progressvoid onStopPreview(@NonNull PreviewThumbnailView previewThumbnailView, int progress)
previewThumbnailView
- the PreviewThumbnailView
triggering this actionprogress
- the PreviewThumbnailView
's current progressvoid onPreview(@NonNull PreviewThumbnailView previewThumbnailView, int progress, boolean fromUser)
previewThumbnailView
- the PreviewThumbnailView
triggering this actionprogress
- the PreviewThumbnailView
's current progressfromUser
- indicates whether this action was triggered by the user or programmatically