Package com.twilio.voice
Interface MessageListener
public interface MessageListener
The MessageListener interface defines a set of callbacks for events related to push notifications
for incoming calls.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onCallInvite
(CallInvite callInvite) Notifies the listener that an incoming call invite has been received.void
onCancelledCallInvite
(CancelledCallInvite cancelledCallInvite, CallException callException) Notifies the listener that an incoming call invite was cancelled.
-
Method Details
-
onCallInvite
Notifies the listener that an incoming call invite has been received. -
onCancelledCallInvite
void onCancelledCallInvite(@NonNull CancelledCallInvite cancelledCallInvite, @Nullable CallException callException) Notifies the listener that an incoming call invite was cancelled.
-