# SubtitleView.ViewType

Artifact: [androidx.media3:media3-ui](https://developer.android.com/jetpack/androidx/releases/media3) [View Source](https://cs.android.com/search?q=file:androidx/media3/ui/SubtitleView.java+class:androidx.media3.ui.SubtitleView.ViewType)

*** ** * ** ***


```
@Documented
@Retention(value = RetentionPolicy.SOURCE)
@Target(value = ElementType.TYPE_USE)
@IntDef(value = )
public annotation SubtitleView.ViewType
```

<br />

*** ** * ** ***

The type of `https://developer.android.com/reference/android/view/View.html` to use to display subtitles.

One of:

- `https://developer.android.com/reference/androidx/media3/ui/SubtitleView#VIEW_TYPE_CANVAS()`
- `https://developer.android.com/reference/androidx/media3/ui/SubtitleView#VIEW_TYPE_WEB()`