Class CallAutomationEventBaseWithReasonCode

java.lang.Object
com.azure.communication.callautomation.models.events.CallAutomationEventBase
com.azure.communication.callautomation.models.events.CallAutomationEventBaseWithReasonCode
All Implemented Interfaces:
com.azure.json.JsonSerializable<CallAutomationEventBase>
Direct Known Subclasses:
HoldFailed, PlayCompleted, PlayFailed, RecognizeCompleted, RecognizeFailed

public abstract class CallAutomationEventBaseWithReasonCode extends CallAutomationEventBase
The base event interface with ReasonCode added.
  • Method Details

    • getReasonCode

      public ReasonCode getReasonCode()
      Returns the reason code of the event
      Returns:
      a ReasonCode object.