public final class RenditionKey extends java.lang.Object implements java.lang.Comparable<RenditionKey>
HlsMasterPlaylist.| Modifier and Type | Class and Description |
|---|---|
static interface |
RenditionKey.Type
Types of rendition.
|
| Modifier and Type | Field and Description |
|---|---|
int |
trackIndex |
int |
type |
static int |
TYPE_AUDIO |
static int |
TYPE_SUBTITLE |
static int |
TYPE_VARIANT |
| Constructor and Description |
|---|
RenditionKey(int type,
int trackIndex) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(RenditionKey other) |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
java.lang.String |
toString() |
public static final int TYPE_VARIANT
public static final int TYPE_AUDIO
public static final int TYPE_SUBTITLE
public final int type
public final int trackIndex
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(@Nullable
java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(@NonNull
RenditionKey other)
compareTo in interface java.lang.Comparable<RenditionKey>