toValue method

String toValue()

Implementation

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