toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case Scte35SegmentationCancelIndicator.segmentationEventNotCanceled:
      return 'SEGMENTATION_EVENT_NOT_CANCELED';
    case Scte35SegmentationCancelIndicator.segmentationEventCanceled:
      return 'SEGMENTATION_EVENT_CANCELED';
  }
}