Package com.castlabs.android.subtitles

## 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 Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `onStyleChange​(SubtitlesStyle style)` | Called when a new style needs to be applied.

- - ### 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