Added in API level 20

Extender


interface 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!

Apply this extender to a notification builder.

Public methods

extend

Added in API level 20
abstract fun extend(builder: Notification.Builder!): Notification.Builder!

Apply this extender to a notification builder.

Parameters
builder Notification.Builder!: the builder to be modified.
Return
Notification.Builder! the build object for chaining.