Interface SubtitlesStyleObserver

  • All Known Subinterfaces:
    SubtitlesPreview
    All Known Implementing Classes:
    ExoSubtitlesStyleObserver

    public interface SubtitlesStyleObserver
    Implementations of this interface can receive a SubtitlesStyle that will be used to render subtitles and closed captions.
    Since:
    3.1.0
    • Method Detail

      • onStyleChange

        void onStyleChange​(@Nullable
                           SubtitlesStyle style)
        Called when a new style needs to be applied. If null is passed here, the default style should be applied.
        Parameters:
        style - The style or null to use the default style