Package com.twilio.voice
Interface MessageListener
-
public interface MessageListenerThe 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 voidonCallInvite(CallInvite callInvite)Notifies the listener that an incoming call invite has been received.voidonCancelledCallInvite(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.
-
-