toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case HlsAudioTrackType.alternateAudioAutoSelectDefault:
      return 'ALTERNATE_AUDIO_AUTO_SELECT_DEFAULT';
    case HlsAudioTrackType.alternateAudioAutoSelect:
      return 'ALTERNATE_AUDIO_AUTO_SELECT';
    case HlsAudioTrackType.alternateAudioNotAutoSelect:
      return 'ALTERNATE_AUDIO_NOT_AUTO_SELECT';
    case HlsAudioTrackType.audioOnlyVariantStream:
      return 'AUDIO_ONLY_VARIANT_STREAM';
  }
}