toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case H265CodecLevel.auto:
      return 'AUTO';
    case H265CodecLevel.level_1:
      return 'LEVEL_1';
    case H265CodecLevel.level_2:
      return 'LEVEL_2';
    case H265CodecLevel.level_2_1:
      return 'LEVEL_2_1';
    case H265CodecLevel.level_3:
      return 'LEVEL_3';
    case H265CodecLevel.level_3_1:
      return 'LEVEL_3_1';
    case H265CodecLevel.level_4:
      return 'LEVEL_4';
    case H265CodecLevel.level_4_1:
      return 'LEVEL_4_1';
    case H265CodecLevel.level_5:
      return 'LEVEL_5';
    case H265CodecLevel.level_5_1:
      return 'LEVEL_5_1';
    case H265CodecLevel.level_5_2:
      return 'LEVEL_5_2';
    case H265CodecLevel.level_6:
      return 'LEVEL_6';
    case H265CodecLevel.level_6_1:
      return 'LEVEL_6_1';
    case H265CodecLevel.level_6_2:
      return 'LEVEL_6_2';
  }
}