compareTo method
Implementation
int compareTo(OmniVideoQuality other) {
//Natural order based on the reverse order of the enums, that is, from the highest to the lowest quality.
return other.index.compareTo(index);
}
int compareTo(OmniVideoQuality other) {
//Natural order based on the reverse order of the enums, that is, from the highest to the lowest quality.
return other.index.compareTo(index);
}