# Index

B C G I S U
All Classes and Interfaces|All Packages

## B

bindToPlayerController(PlayerController) - Method in class com.castlabs.sdk.subtitles.SubtitleViewWrapper
  Deprecated.
  Binds to the provided PlayerController.
build() - Method in class com.castlabs.sdk.subtitles.CastlabsSubtitlesPreviewBuilder

## C

CastlabsSubtitlesPreviewBuilder - Class in com.castlabs.sdk.subtitles
  Builds `SubtitlesPreview` instances for the castlabs subtitles plugin.
CastlabsSubtitlesPreviewBuilder() - Constructor for class com.castlabs.sdk.subtitles.CastlabsSubtitlesPreviewBuilder
com.castlabs.sdk.subtitles - package com.castlabs.sdk.subtitles

## G

getId() - Method in class com.castlabs.sdk.subtitles.SubtitlesPlugin
getSubtitlesView() - Method in class com.castlabs.sdk.subtitles.SubtitleViewWrapper
  Deprecated.
  Returns the underlying `SubtitlesView` if any, null otherwise.
getViewElevation() - Method in class com.castlabs.sdk.subtitles.SubtitlesViewComponentImpl

## I

id() - Method in class com.castlabs.sdk.subtitles.SubtitlesViewComponentImpl
isEnabled() - Method in class com.castlabs.sdk.subtitles.SubtitlesPlugin

## S

setEnabled(boolean) - Method in class com.castlabs.sdk.subtitles.SubtitlesPlugin
  Enabled or disable the plugin
setMeasuredVideoDimensions(int, int) - Method in class com.castlabs.sdk.subtitles.SubtitleViewWrapper
  Deprecated.
  Informs the subtitle render context about the video dimensions.
setSubtitlesMargins(int, int, int, int) - Method in class com.castlabs.sdk.subtitles.SubtitlesViewComponentImpl
SUBTITLES_VIEW_ID - Static variable in class com.castlabs.sdk.subtitles.SubtitlesPlugin
  View ID for the default `SubtitlesView`
SubtitlesPlugin - Class in com.castlabs.sdk.subtitles
  This plugin provides support for extended Subtitles within the Castlabs SDK.
SubtitlesPlugin() - Constructor for class com.castlabs.sdk.subtitles.SubtitlesPlugin
SubtitlesViewComponentImpl - Class in com.castlabs.sdk.subtitles
  Implementation of `SubtitlesViewComponent` for the subtitles plugin.
SubtitleViewWrapper - Class in com.castlabs.sdk.subtitles
  Deprecated.
  You should create the `SubtitlesView` directly, either programmatically or by declaring it in a layout file. If you create the SubtitlesView programmatically, it can be injected onto the SDK through the `PlayerController.setComponentView(int, View)` method passing `SubtitlesPlugin.SUBTITLES_VIEW_ID` as viewId.
SubtitleViewWrapper(Context) - Constructor for class com.castlabs.sdk.subtitles.SubtitleViewWrapper
  Deprecated.
SubtitleViewWrapper(Context, AttributeSet) - Constructor for class com.castlabs.sdk.subtitles.SubtitleViewWrapper
  Deprecated.
SubtitleViewWrapper(Context, AttributeSet, int) - Constructor for class com.castlabs.sdk.subtitles.SubtitleViewWrapper
  Deprecated.
SubtitleViewWrapper(Context, AttributeSet, int, int) - Constructor for class com.castlabs.sdk.subtitles.SubtitleViewWrapper
  Deprecated.

## U

unbindFromPlayerController() - Method in class com.castlabs.sdk.subtitles.SubtitleViewWrapper
  Deprecated.
  Removes the SubtitlesView and `unsets` it in the PlayerController.

B C G I S U
All Classes and Interfaces|All Packages