Package com.castlabs.android.views

## Class SubtitlesViewComponent<T extends View>

- java.lang.Object
- - com.castlabs.android.player.PlayerViewPlugin.SingleViewPlayerViewComponent<T>
  - - com.castlabs.android.views.SubtitlesViewComponent<T>

- All Implemented Interfaces:
    `PlayerViewPlugin.PlayerViewComponent`

      public abstract class SubtitlesViewComponent<T extends View>
      extends PlayerViewPlugin.SingleViewPlayerViewComponent<T>

  This is a `PlayerViewPlugin.PlayerViewComponent` that will be automatically used when you are using a `PlayerView`.

  You can use this component to get access the View that renders the subtitles, for instance, if you need to apply an offset to it when player controls overlap.

  To access the component and then the view, you can use:

           SubtitlesViewComponent component = playerView.getComponent(SubtitlesViewComponent.class);
           View subtitlesView = component.getView();

  Since:
    4.0.2

- - ### Field Summary

    - ### Fields inherited from interface com.castlabs.android.player.PlayerViewPlugin.PlayerViewComponent

      `POSITION_DEBUG, POSITION_SUBTITLES, POSITION_THUMBNAILS`

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `SubtitlesViewComponent()` |

  - ### Method Summary

    - ### Methods inherited from class com.castlabs.android.player.PlayerViewPlugin.SingleViewPlayerViewComponent

      `attachToPlayerView, getView, id`

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

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

    - ### Methods inherited from interface com.castlabs.android.player.PlayerViewPlugin.PlayerViewComponent

      `getViewElevation`

- - ### Constructor Detail

    - #### SubtitlesViewComponent

          public SubtitlesViewComponent()