compareTo method

int compareTo(
  1. OmniVideoQuality other
)

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);
}