toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case M2tsSegmentationMarkers.none:
      return 'NONE';
    case M2tsSegmentationMarkers.raiSegstart:
      return 'RAI_SEGSTART';
    case M2tsSegmentationMarkers.raiAdapt:
      return 'RAI_ADAPT';
    case M2tsSegmentationMarkers.psiSegstart:
      return 'PSI_SEGSTART';
    case M2tsSegmentationMarkers.ebp:
      return 'EBP';
    case M2tsSegmentationMarkers.ebpLegacy:
      return 'EBP_LEGACY';
  }
}