Interface PreviewThumbnailView.OnPreviewChangeListener
-
- Enclosing interface:
- PreviewThumbnailView
public static interface PreviewThumbnailView.OnPreviewChangeListener
ThisPreviewThumbnailView
's listener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onPreview(PreviewThumbnailView previewThumbnailView, int progress, boolean fromUser)
Callback triggered when the Preview Thumbnail process is in progressvoid
onStartPreview(PreviewThumbnailView previewThumbnailView, int progress)
Callback triggered when the Preview Thumbnail process has startedvoid
onStopPreview(PreviewThumbnailView previewThumbnailView, int progress)
Callback triggered when the Preview Thumbnail process has stopped
-
-
-
Method Detail
-
onStartPreview
void onStartPreview(@NonNull PreviewThumbnailView previewThumbnailView, int progress)
Callback triggered when the Preview Thumbnail process has started- Parameters:
previewThumbnailView
- thePreviewThumbnailView
triggering this actionprogress
- thePreviewThumbnailView
's current progress
-
onStopPreview
void onStopPreview(@NonNull PreviewThumbnailView previewThumbnailView, int progress)
Callback triggered when the Preview Thumbnail process has stopped- Parameters:
previewThumbnailView
- thePreviewThumbnailView
triggering this actionprogress
- thePreviewThumbnailView
's current progress
-
onPreview
void onPreview(@NonNull PreviewThumbnailView previewThumbnailView, int progress, boolean fromUser)
Callback triggered when the Preview Thumbnail process is in progress- Parameters:
previewThumbnailView
- thePreviewThumbnailView
triggering this actionprogress
- thePreviewThumbnailView
's current progressfromUser
- indicates whether this action was triggered by the user or programmatically
-
-