toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case Mpeg2InterlaceMode.progressive:
      return 'PROGRESSIVE';
    case Mpeg2InterlaceMode.topField:
      return 'TOP_FIELD';
    case Mpeg2InterlaceMode.bottomField:
      return 'BOTTOM_FIELD';
    case Mpeg2InterlaceMode.followTopField:
      return 'FOLLOW_TOP_FIELD';
    case Mpeg2InterlaceMode.followBottomField:
      return 'FOLLOW_BOTTOM_FIELD';
  }
}