Modifier and Type | Field | Description |
---|---|---|
String |
label |
The label.
|
String |
language |
The language.
|
String |
mimeType |
The MIME type.
|
int |
roleFlags |
The role flags.
|
int |
selectionFlags |
The selection flags.
|
Uri |
uri |
The
Uri to the subtitle file. |
Constructor | Description |
---|---|
Subtitle(Uri uri,
String mimeType,
String language) |
Creates an instance.
|
Subtitle(Uri uri,
String mimeType,
String language,
int selectionFlags) |
Creates an instance.
|
Subtitle(Uri uri,
String mimeType,
String language,
int selectionFlags,
int roleFlags,
String label) |
Creates an instance.
|
public final String mimeType
@Nullable public final String language
@SelectionFlags public final int selectionFlags
@RoleFlags public final int roleFlags
@Nullable public final String label
public Subtitle(Uri uri, String mimeType, @Nullable String language)
uri
- The URI
to the subtitle file.mimeType
- The MIME type.language
- The optional language.public Subtitle(Uri uri, String mimeType, @Nullable String language, @SelectionFlags int selectionFlags)
uri
- The URI
to the subtitle file.mimeType
- The MIME type.language
- The optional language.selectionFlags
- The selection flags.public Subtitle(Uri uri, String mimeType, @Nullable String language, @SelectionFlags int selectionFlags, @RoleFlags int roleFlags, @Nullable String label)
uri
- The URI
to the subtitle file.mimeType
- The MIME type.language
- The optional language.selectionFlags
- The selection flags.roleFlags
- The role flags.label
- The optional label.