Package com.castlabs.sdk.subtitles
Class SubtitlesViewComponentImpl
java.lang.Object
com.castlabs.android.player.PlayerViewPlugin.SingleViewPlayerViewComponent<com.castlabs.sdk.base.subtitles.SubtitlesView>
com.castlabs.android.views.SubtitlesViewComponent<com.castlabs.sdk.base.subtitles.SubtitlesView>
com.castlabs.sdk.subtitles.SubtitlesViewComponentImpl
- All Implemented Interfaces:
PlayerViewPlugin.PlayerViewComponent
public class SubtitlesViewComponentImpl
extends SubtitlesViewComponent<com.castlabs.sdk.base.subtitles.SubtitlesView>
Implementation of
SubtitlesViewComponent
for the subtitles plugin.- Since:
- 4.0.2
-
Field Summary
Fields inherited from interface com.castlabs.android.player.PlayerViewPlugin.PlayerViewComponent
POSITION_DEBUG, POSITION_SUBTITLES, POSITION_THUMBNAILS
-
Method Summary
Modifier and TypeMethodDescriptionint
id()
void
setSubtitlesMargins
(int top, int bottom, int left, int right) Methods inherited from class com.castlabs.android.player.PlayerViewPlugin.SingleViewPlayerViewComponent
attachToPlayerView, getView
-
Method Details
-
getViewElevation
public int getViewElevation() -
id
- Specified by:
id
in interfacePlayerViewPlugin.PlayerViewComponent
- Overrides:
id
in classPlayerViewPlugin.SingleViewPlayerViewComponent<com.castlabs.sdk.base.subtitles.SubtitlesView>
-
setSubtitlesMargins
public void setSubtitlesMargins(int top, int bottom, int left, int right)
-