Class DefaultTrackSelector.VideoTrackScore
- java.lang.Object
-
- com.google.android.exoplayer2.trackselection.DefaultTrackSelector.VideoTrackScore
-
- All Implemented Interfaces:
Comparable<DefaultTrackSelector.VideoTrackScore>
- Enclosing class:
- DefaultTrackSelector
protected static final class DefaultTrackSelector.VideoTrackScore extends Object implements Comparable<DefaultTrackSelector.VideoTrackScore>
Represents how well a video track matches the selectionDefaultTrackSelector.Parameters.
-
-
Field Summary
Fields Modifier and Type Field Description booleanisWithinMaxConstraintsWhether the provided format is within the parameter maximum constraints.
-
Constructor Summary
Constructors Constructor Description VideoTrackScore(Format format, DefaultTrackSelector.Parameters parameters, int formatSupport, boolean isSuitableForViewport)
-
-
-
Constructor Detail
-
VideoTrackScore
public VideoTrackScore(Format format, DefaultTrackSelector.Parameters parameters, @Capabilities int formatSupport, boolean isSuitableForViewport)
-
-
Method Detail
-
compareTo
public int compareTo(DefaultTrackSelector.VideoTrackScore other)
- Specified by:
compareToin interfaceComparable<DefaultTrackSelector.VideoTrackScore>
-
-