Stay organized with collections Save and categorize content based on your preferences.

public static interface Notification.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 extend(Notification.Builder builder)

Apply this extender to a notification builder.

Public methods

extend

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.

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2022-02-10 UTC.