Simple Call Notification Listener
class SimpleCallNotificationListener(context: Context) : CallNotificationListener
Content copied to clipboard
Simple call notification listener handles how the incoming calls will be shown and uses the SimpleCallConfiguration
Parameters
context
context
Constructors
Functions
Link copied to clipboard
open override fun onCreateNotification( callInfo: CallInfo, type: CallNotificationType, notificationStyle: CallNotificationStyle)
Content copied to clipboard
This method will be called when a notification is going to be displayed. The notification look&feel can be customized here.
Link copied to clipboard
open override fun onIncomingCall( call: IncomingCall, isDnd: Boolean, isScreenLocked: Boolean)
Content copied to clipboard
This method will be called when an incoming call has been received. Here it is possible to launch the incoming call as activity, notification or not display it at all.