Package com.castlabs.android.player

# Class ExoSubtitlesRendererPlugin

java.lang.Object
com.castlabs.android.player.ExoSubtitlesRendererPlugin

All Implemented Interfaces:
  `TrackRendererPlugin`

public class ExoSubtitlesRendererPlugin extends Object implements TrackRendererPlugin
Plugin which exposes a TrackRenderer for the default Exoplayer subtitles.

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static class`
  `ExoSubtitlesRendererPlugin.ExoSubtitleComponent`
  A component for handling ExoPlayer subtitle rendering.

  ## Nested classes/interfaces inherited from interface com.castlabs.android.player.TrackRendererPlugin

  `TrackRendererPlugin.TrackRendererBuilder, TrackRendererPlugin.TrackRendererContainer, TrackRendererPlugin.Type`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ExoSubtitlesRendererPlugin()`
  Creates a new ExoSubtitlesRendererPlugin.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `TrackRendererPlugin.TrackRendererBuilder`
  `create()`
  Creates a new instance of the builder.

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ExoSubtitlesRendererPlugin

    public ExoSubtitlesRendererPlugin()
    Creates a new ExoSubtitlesRendererPlugin. This constructor registers the necessary plugins with PlayerSDK.

- ## Method Details

  - ### create

    @NonNull public TrackRendererPlugin.TrackRendererBuilder create()
    Description copied from interface: `TrackRendererPlugin`
    Creates a new instance of the builder.
    Specified by:
      `create` in interface `TrackRendererPlugin`
    Returns:
      a new instance of the builder