# 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
  Creates a new instance of the `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
  Returns whether the subtitles plugin is currently enabled.

## S

setEnabled(boolean) - Method in class com.castlabs.sdk.subtitles.SubtitlesPlugin
  Enables or disables the subtitles plugin functionality.
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` that is used to display subtitles in the player.
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
  Default constructor for the 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.
  Creates a new SubtitleViewWrapper instance.
SubtitleViewWrapper(Context, AttributeSet) - Constructor for class com.castlabs.sdk.subtitles.SubtitleViewWrapper
  Deprecated.
  Creates a new SubtitleViewWrapper instance with the specified attributes.
SubtitleViewWrapper(Context, AttributeSet, int) - Constructor for class com.castlabs.sdk.subtitles.SubtitleViewWrapper
  Deprecated.
  Creates a new SubtitleViewWrapper instance with the specified attributes and style.
SubtitleViewWrapper(Context, AttributeSet, int, int) - Constructor for class com.castlabs.sdk.subtitles.SubtitleViewWrapper
  Deprecated.
  Creates a new SubtitleViewWrapper instance with the specified attributes, style, and style resource.

## 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