toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case Ac3BitstreamMode.completeMain:
      return 'COMPLETE_MAIN';
    case Ac3BitstreamMode.commentary:
      return 'COMMENTARY';
    case Ac3BitstreamMode.dialogue:
      return 'DIALOGUE';
    case Ac3BitstreamMode.emergency:
      return 'EMERGENCY';
    case Ac3BitstreamMode.hearingImpaired:
      return 'HEARING_IMPAIRED';
    case Ac3BitstreamMode.musicAndEffects:
      return 'MUSIC_AND_EFFECTS';
    case Ac3BitstreamMode.visuallyImpaired:
      return 'VISUALLY_IMPAIRED';
    case Ac3BitstreamMode.voiceOver:
      return 'VOICE_OVER';
  }
}