getNotificationOwnedIncomingCallNotification
Creates an incoming-call notification when the notification owns ringtone playback.
Override this method to customize notification-owned incoming-call notifications. The default implementation configures the ringing channel, looping ringtone flags, separate content and full-screen intents, and accept and reject actions. Replacing those properties may prevent the incoming ringtone or full-screen presentation from working.
Returning null suppresses both the incoming-call notification and its ringtone.
Parameters
The incoming call identifier.
The current incoming ringing state.
Opens the incoming-call screen without dismissing the notification.
Opens the incoming-call screen after a user taps the notification.
Accepts the incoming call.
Rejects the incoming call.
The caller name displayed in the notification.
Whether tapping the notification should open the call screen.
The payload associated with the incoming-call notification.