Added in API level 20

Extender


interface Extender
android.app.Notification.Extender

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.
This value cannot be null.
Return
Notification.Builder the build object for chaining.
This value cannot be null.