toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case VoiceRecordingTrack.fromAgent:
      return 'FROM_AGENT';
    case VoiceRecordingTrack.toAgent:
      return 'TO_AGENT';
    case VoiceRecordingTrack.all:
      return 'ALL';
  }
}