MultimediaNotifications

Configuration for the foreground service notification displayed during an active multimedia session.

Android requires a foreground service notification while a voice call is active. Use this class to specify what happens when the user taps the notification and to customize its appearance.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

The Activity to launch when the notification is tapped. Typically set to the activity hosting your conversation UI so the user can return to the call. If null, no tap action is set.

Link copied to clipboard

A lambda to customize the NotificationCompat.Builder for the foreground service notification. The current MultimediaSession is provided as a parameter, allowing dynamic content based on session state.