NotificationCompat.Extender

Added in 1.1.0

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

abstract @NonNull NotificationCompat.Builder

Apply this extender to a notification builder.

Public methods

extend

Added in 1.1.0
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.