toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case CaptionDestinationType.burnIn:
      return 'BURN_IN';
    case CaptionDestinationType.dvbSub:
      return 'DVB_SUB';
    case CaptionDestinationType.embedded:
      return 'EMBEDDED';
    case CaptionDestinationType.embeddedPlusScte20:
      return 'EMBEDDED_PLUS_SCTE20';
    case CaptionDestinationType.imsc:
      return 'IMSC';
    case CaptionDestinationType.scte20PlusEmbedded:
      return 'SCTE20_PLUS_EMBEDDED';
    case CaptionDestinationType.scc:
      return 'SCC';
    case CaptionDestinationType.srt:
      return 'SRT';
    case CaptionDestinationType.smi:
      return 'SMI';
    case CaptionDestinationType.teletext:
      return 'TELETEXT';
    case CaptionDestinationType.ttml:
      return 'TTML';
    case CaptionDestinationType.webvtt:
      return 'WEBVTT';
  }
}