toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case H264Profile.baseline:
      return 'BASELINE';
    case H264Profile.high:
      return 'HIGH';
    case H264Profile.high_10bit:
      return 'HIGH_10BIT';
    case H264Profile.high_422:
      return 'HIGH_422';
    case H264Profile.high_422_10bit:
      return 'HIGH_422_10BIT';
    case H264Profile.main:
      return 'MAIN';
  }
}