toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case InputLossActionForUdpOut.dropProgram:
      return 'DROP_PROGRAM';
    case InputLossActionForUdpOut.dropTs:
      return 'DROP_TS';
    case InputLossActionForUdpOut.emitProgram:
      return 'EMIT_PROGRAM';
  }
}