SubtitleInfo
com.connectsdk.core.SubtitleInfo
Normalized reference object for information about a subtitle track.
It’s used in MediaInfo class. The only one required parameter is
url, others can be null. This class is immutable and has a
builder for easy construction.
Different services support specific subtitle formats:
DLNAServicesupports only SRT subtitles. Since there is no official specification for them, subtitles may not work on all DLNA-compatible devicesNetcastTVServicesupports only SRT subtitles and has the same restrictions asDLNAServiceCastServicesupports only WebVTT subtitles and it has additional requirementshttps://developers.google.com/cast/docs/android_sender#cors-requirements
FireTVServicesupports only WebVTT subtitlesWebOSTVServicesupports WebVTT subtitles. Server providing subtitles should support CORS headers, similarly to Cast service’s requirements.
Inner Classes
Methods
String getUrl ()
String getMimeType ()
String getLabel ()
String getLanguage ()
- boolean equals (Object o)
Parameters: - o
int hashCode ()