public final class

MediaItem.Subtitle

extends MediaItem.SubtitleConfiguration

 java.lang.Object

androidx.media3.common.MediaItem.SubtitleConfiguration

↳androidx.media3.common.MediaItem.Subtitle

Summary

Fields
from MediaItem.SubtitleConfigurationid, label, language, mimeType, roleFlags, selectionFlags, uri
Constructors
publicSubtitle(Uri uri, java.lang.String mimeType, java.lang.String language)

publicSubtitle(Uri uri, java.lang.String mimeType, java.lang.String language, int selectionFlags)

publicSubtitle(Uri uri, java.lang.String mimeType, java.lang.String language, int selectionFlags, int roleFlags, java.lang.String label)

Methods
from MediaItem.SubtitleConfigurationbuildUpon, equals, fromBundle, hashCode, toBundle
from java.lang.Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

Constructors

public Subtitle(Uri uri, java.lang.String mimeType, java.lang.String language)

Deprecated: Use MediaItem.Builder instead.

public Subtitle(Uri uri, java.lang.String mimeType, java.lang.String language, int selectionFlags)

Deprecated: Use MediaItem.Builder instead.

public Subtitle(Uri uri, java.lang.String mimeType, java.lang.String language, int selectionFlags, int roleFlags, java.lang.String label)

Deprecated: Use MediaItem.Builder instead.