toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case StreamOrder.original:
      return 'ORIGINAL';
    case StreamOrder.videoBitrateAscending:
      return 'VIDEO_BITRATE_ASCENDING';
    case StreamOrder.videoBitrateDescending:
      return 'VIDEO_BITRATE_DESCENDING';
  }
}