-
public interface Call.CallMessageListenerCall.CallMessageListener interface defines a set of callbacks when CallMessage isreceived or when the result of outbound CallMessage request is available.
-
-
Method Summary
Modifier and Type Method Description abstract voidonMessageReceived(String callSid, CallMessage callMesssage)Notifies that an incoming call message has been received. abstract voidonMessageSent(String callSid, String voiceEventSID)Notifies that a CallMessage was sent. abstract voidonMessageFailure(String callSid, String voiceEventSID, VoiceException error)Notifies the delegate that a CallMessage was failed to be sent out. -
-
Method Detail
-
onMessageReceived
abstract void onMessageReceived(String callSid, CallMessage callMesssage)
Notifies that an incoming call message has been received. This feature is currently inBeta.
- Parameters:
callSid- The unique identifier for the Call or the CallInvite.callMesssage- The CallMessage received.
-
onMessageSent
abstract void onMessageSent(String callSid, String voiceEventSID)
Notifies that a CallMessage was sent. This feature is currently in Beta.
- Parameters:
callSid- The unique identifier for the Call or the CallInvite.voiceEventSID- The same unique identifier to be associated with the uniqueidentifier returned from the sendMessage
-
onMessageFailure
abstract void onMessageFailure(String callSid, String voiceEventSID, VoiceException error)
Notifies the delegate that a CallMessage was failed to be sent out. This featureis currently in Beta.
- Parameters:
callSid- The unique identifier for the Call or the CallInvite.voiceEventSID- The same unique identifier to be associated with the uniqueidentifier returned from the sendMessageerror- The VoiceException that occurred.
-
-
-
-