Interface Quality
-
- All Implemented Interfaces:
-
com.theoplayer.android.api.event.EventDispatcher
public interface Quality implements EventDispatcher<E>
Represents one of the qualities of a MediaTrack.
-
-
Method Summary
Modifier and Type Method Description abstract long
getBandwidth()
The required bandwidth for the quality as defined in the manifest. abstract String
getCodecs()
The codecs of the quality as defined in the manifest. abstract String
getId()
abstract int
getUid()
abstract String
getName()
The name of the quality as defined in the manifest. -
-
Method Detail
-
getBandwidth
abstract long getBandwidth()
The required bandwidth for the quality as defined in the manifest.
- Returns:
The bandwidth of the quality.
-
getCodecs
@Nullable() abstract String getCodecs()
The codecs of the quality as defined in the manifest.
- Returns:
The codecs of the quality. (Nullable)
-
getId
abstract String getId()
- Returns:
The identifier of the quality. This identifier is mapped to the internal stream representation but might be empty. To have a unique identifier, use `getUid`.
-
getUid
abstract int getUid()
- Returns:
The unique identifier of the quality.
-
-
-
-