Added in API level 20

Notification.Extender


public static interface Notification.Extender

android.app.Notification.Extender
Notification.CarExtender

Helper class to add Android Auto extensions to notifications. 

Notification.TvExtender

Helper class to add Android TV extensions to notifications. 

Notification.WearableExtender Helper class to add wearable extensions to notifications. 


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

Summary

Public methods

abstract Notification.Builder extend(Notification.Builder builder)

Apply this extender to a notification builder.

Public methods

extend

Added in API level 20
public abstract Notification.Builder extend (Notification.Builder builder)

Apply this extender to a notification builder.

Parameters
builder Notification.Builder: the builder to be modified.

Returns
Notification.Builder the build object for chaining.