Package com.castlabs.android.player

# Class ExoSubtitlesRendererPlugin.ExoSubtitleComponent

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

All Implemented Interfaces:
  `PlayerControllerPlugin.Component`, `PlayerControllerPlugin.ComponentViewListener`, `PlayerControllerPlugin.VisualComponent`

Enclosing class:
  `ExoSubtitlesRendererPlugin`

public static class ExoSubtitlesRendererPlugin.ExoSubtitleComponent extends VisualComponentProxy
A component for handling ExoPlayer subtitle rendering.

- ## Constructor Summary

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

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Class`
  `id()`
  Returns the class that is used to identify this component when it is registered with the player controller.

  ### Methods inherited from class com.castlabs.android.player.VisualComponentProxy

  `onComponentViewsChanged, onDestroy, onOpenBundle, onOpenState, scanComponentViews, setComponentViewListener`

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

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

- ## Constructor Details

  - ### ExoSubtitleComponent

    public ExoSubtitleComponent()
    Creates a new ExoSubtitleComponent.

- ## Method Details

  - ### id

    @NonNull public Class id()
    Description copied from interface: `PlayerControllerPlugin.Component`
    Returns the class that is used to identify this component when it is registered with the player controller. This is what you need to pass to `PlayerController.getComponent(Class)` to get the registered instance of this component.
    Returns:
      The class that identifies this component.