NotificationCompat.Extender

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.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 methods

abstract @NonNull NotificationCompat.Builder

Apply this extender to a notification builder.

Public methods

extend

abstract @NonNull NotificationCompat.Builder extend(@NonNull NotificationCompat.Builder builder)

Apply this extender to a notification builder.

Parameters
@NonNull NotificationCompat.Builder builder

the builder to be modified.

Returns
@NonNull NotificationCompat.Builder

the build object for chaining.