Google 致力于为黑人社区推动种族平等。查看具体举措

Extender

interface Extender
androidx.core.app.NotificationCompat.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 NotificationCompat.Builder

Apply this extender to a notification builder.

Public methods

extend

@NonNull abstract fun extend(@NonNull builder: NotificationCompat.Builder): NotificationCompat.Builder

Apply this extender to a notification builder.

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