Package com.castlabs.android.subtitles

# Class ExoSubtitlesPreviewBuilder

java.lang.Object
com.castlabs.android.subtitles.ExoSubtitlesPreviewBuilder

All Implemented Interfaces:
  `SubtitlesPreviewBuilder`

public class ExoSubtitlesPreviewBuilder extends Object implements SubtitlesPreviewBuilder
Builds `SubtitlesPreview` instances for the Exoplayer subtitles plugin.

Note that you usually do not need to interact with this class directly. The default plugin will register this builder automatically for you.

- ## Constructor Summary

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

- ## Method Summary

  Modifier and Type
  Method
  Description
  `SubtitlesPreview`
  `build()`
  Creates a new ExoSubtitlesPreview instance.

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

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

- ## Constructor Details

  - ### ExoSubtitlesPreviewBuilder

    public ExoSubtitlesPreviewBuilder()
    Creates a new ExoSubtitlesPreviewBuilder.

- ## Method Details

  - ### build

    public SubtitlesPreview build()
    Creates a new ExoSubtitlesPreview instance.
    Specified by:
      `build` in interface `SubtitlesPreviewBuilder`
    Returns:
      A new ExoSubtitlesPreview instance