toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case H264CodecLevel.auto:
      return 'AUTO';
    case H264CodecLevel.level_1:
      return 'LEVEL_1';
    case H264CodecLevel.level_1_1:
      return 'LEVEL_1_1';
    case H264CodecLevel.level_1_2:
      return 'LEVEL_1_2';
    case H264CodecLevel.level_1_3:
      return 'LEVEL_1_3';
    case H264CodecLevel.level_2:
      return 'LEVEL_2';
    case H264CodecLevel.level_2_1:
      return 'LEVEL_2_1';
    case H264CodecLevel.level_2_2:
      return 'LEVEL_2_2';
    case H264CodecLevel.level_3:
      return 'LEVEL_3';
    case H264CodecLevel.level_3_1:
      return 'LEVEL_3_1';
    case H264CodecLevel.level_3_2:
      return 'LEVEL_3_2';
    case H264CodecLevel.level_4:
      return 'LEVEL_4';
    case H264CodecLevel.level_4_1:
      return 'LEVEL_4_1';
    case H264CodecLevel.level_4_2:
      return 'LEVEL_4_2';
    case H264CodecLevel.level_5:
      return 'LEVEL_5';
    case H264CodecLevel.level_5_1:
      return 'LEVEL_5_1';
    case H264CodecLevel.level_5_2:
      return 'LEVEL_5_2';
  }
}