Package com.castlabs.sdk.subtitles
Class SubtitlesViewComponentImpl
- java.lang.Object
-
- com.castlabs.android.player.PlayerViewPlugin.SingleViewPlayerViewComponent<T>
-
- com.castlabs.android.views.SubtitlesViewComponent<SubtitlesView>
-
- com.castlabs.sdk.subtitles.SubtitlesViewComponentImpl
-
- All Implemented Interfaces:
PlayerViewPlugin.PlayerViewComponent
public class SubtitlesViewComponentImpl extends SubtitlesViewComponent<SubtitlesView>
Implementation ofSubtitlesViewComponent
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getViewElevation()
Class
id()
void
setSubtitlesMargins(int top, int bottom, int left, int right)
-
Methods inherited from class com.castlabs.android.player.PlayerViewPlugin.SingleViewPlayerViewComponent
attachToPlayerView, getView
-
-
-
-
Method Detail
-
getViewElevation
public int getViewElevation()
-
id
@Nullable public Class id()
- Specified by:
id
in interfacePlayerViewPlugin.PlayerViewComponent
- Overrides:
id
in classPlayerViewPlugin.SingleViewPlayerViewComponent<SubtitlesView>
-
setSubtitlesMargins
public void setSubtitlesMargins(int top, int bottom, int left, int right)
-
-