Package com.castlabs.sdk.thumbs

# Interface ThumbnailProvider.IndexRefreshListener

Enclosing interface:
  `ThumbnailProvider`

public static interface ThumbnailProvider.IndexRefreshListener
Listener which gets called every time the internal thumbnail index is refreshed.

When consuming a thumbnails within live stream, the index is refreshed upon each manifest update. Nevertheless, the thumbnail index refresh might happen for various reasons and does not always necessarily mean that new thumbnails are available since the previous call.

For example, a thumbnail refresh might also happen when player state transitions to Playing, or when the seek range changes.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `onIndexRefreshed(ThumbnailProvider provider)`
  The thumbnail internal index has been refreshed.

- ## Method Details

  - ### onIndexRefreshed

    void onIndexRefreshed(@NonNull ThumbnailProvider provider)
    The thumbnail internal index has been refreshed.
    Parameters:
      `provider` - the provider which just had its thumbnail index refreshed