Class QualityLevel
java.lang.Object
com.jwplayer.pub.api.media.adaptive.QualityLevel
- All Implemented Interfaces:
Comparable<QualityLevel>
A QualityLevel in a HLS, SmoothStreaming or DASH stream.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The label for the Auto Trackstatic final <any>
static final int
Magic constant used when something is unkown. -
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(QualityLevel qualityLevel) int
int
int
getLabel()
int
int
int
getWidth()
void
writeToParcel
(Parcel dest, int flags)
-
Field Details
-
AUTO_LABEL
The label for the Auto Track- See Also:
-
NO_VALUE
public static final int NO_VALUEMagic constant used when something is unkown.- See Also:
-
CREATOR
public static final <any> CREATOR
-
-
Method Details
-
getPlaylistPosition
public int getPlaylistPosition()- Returns:
- The HLS playlist position of this quality level. -1 if "Auto" quality.
-
getBitrate
public int getBitrate() -
getLabel
-
getHeight
public int getHeight() -
getWidth
public int getWidth() -
getTrackIndex
public int getTrackIndex() -
compareTo
- Specified by:
compareTo
in interfaceComparable<QualityLevel>
-
describeContents
public int describeContents() -
writeToParcel
public void writeToParcel(Parcel dest, int flags)
-