# Deprecated API

## Contents

- Classes

- Deprecated Classes
  Class
  Description
  com.castlabs.sdk.subtitles.SubtitleViewWrapper
  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.