Interface Call.CallMessageListener

Enclosing class:
Call

public static interface Call.CallMessageListener
Call.CallMessageListener interface defines a set of callbacks when CallMessage is received or when the result of outbound CallMessage request is available.
  • Method Details

    • onMessageReceived

      void onMessageReceived(CallMessage callMesssage)
      Notifies that an incoming call message has been received. This feature is currently in Beta.
      Parameters:
      callMesssage - The CallMessage received.
    • onMessageSent

      void onMessageSent(String voiceEventSID)
      Notifies that a CallMessage was sent. This feature is currently in Beta.
      Parameters:
      voiceEventSID - The same unique identifier to be associated with the unique identifier returned from the Call.sendMessage(CallMessage)
    • onMessageFailure

      void onMessageFailure(String voiceEventSID, VoiceException error)
      Notifies the delegate that a CallMessage was failed to be sent out. This feature is currently in Beta.
      Parameters:
      voiceEventSID - The same unique identifier to be associated with the unique identifier returned from the Call.sendMessage(CallMessage)
      error - The VoiceException that occurred.