NotificationCompat.Extender

Added in 1.1.0

interface NotificationCompat.Extender

Known direct subclasses
CarAppExtender

Helper class to add car app extensions to notifications.

NotificationCompat.CarExtender

Helper class to add Android Auto extensions to notifications.

NotificationCompat.TvExtender

Helper class to add Android TV extensions to notifications.

NotificationCompat.WearableExtender

Helper class to add wearable extensions to notifications.


Extender interface for use with extend. Extenders may be used to add metadata or change options on a notification builder.

Summary

Public functions

NotificationCompat.Builder

Apply this extender to a notification builder.

Public functions

extend

Added in 1.1.0
fun extend(builder: NotificationCompat.Builder): NotificationCompat.Builder

Apply this extender to a notification builder.

Parameters
builder: NotificationCompat.Builder

the builder to be modified.

Returns
NotificationCompat.Builder

the build object for chaining.