Class CallAutomationEventWithReasonCodeBase

java.lang.Object
com.azure.communication.callautomation.models.events.CallAutomationEventBase
com.azure.communication.callautomation.models.events.CallAutomationEventWithReasonCodeBase
Direct Known Subclasses:
PlayCompleted, PlayFailed, RecognizeCompleted, RecognizeFailed

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

    • getResultInformation

      public ResultInformation getResultInformation()
      Get the resultInformation property: Contains the resulting SIP code/sub-code and message from NGC services.
      Returns:
      the resultInformation value.
    • getReasonCode

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