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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
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 Detail
-
onCallInvite
void onCallInvite(@NonNull CallInvite callInvite)
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.
-
-