Class VirtualAgent


  • public class VirtualAgent
    extends TwiML
    TwiML wrapper for <VirtualAgent>
    • Method Detail

      • getConnectorName

        public String getConnectorName()
        Defines the conversation profile Dialogflow needs to use
        Returns:
        Defines the conversation profile Dialogflow needs to use
      • getLanguage

        public String getLanguage()
        Language to be used by Dialogflow to transcribe speech
        Returns:
        Language to be used by Dialogflow to transcribe speech
      • isSentimentAnalysis

        public Boolean isSentimentAnalysis()
        Whether sentiment analysis needs to be enabled or not
        Returns:
        Whether sentiment analysis needs to be enabled or not
      • getStatusCallback

        public String getStatusCallback()
        URL to post status callbacks from Twilio
        Returns:
        URL to post status callbacks from Twilio
      • getStatusCallbackMethod

        public HttpMethod getStatusCallbackMethod()
        HTTP method to use when requesting the status callback URL
        Returns:
        HTTP method to use when requesting the status callback URL