toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ReservationCodec.mpeg2:
      return 'MPEG2';
    case ReservationCodec.avc:
      return 'AVC';
    case ReservationCodec.hevc:
      return 'HEVC';
    case ReservationCodec.audio:
      return 'AUDIO';
    case ReservationCodec.link:
      return 'LINK';
  }
}