Google berkomitmen untuk mendorong terwujudnya keadilan ras bagi komunitas Kulit Hitam. Lihat caranya.

NotificationCompat.Style

public static abstract class NotificationCompat.Style
extends Object

java.lang.Object
   ↳ androidx.core.app.NotificationCompat.Style


An object that can apply a rich notification style to a Notification.CarExtender.Builder object.
If the platform does not provide rich notification styles, methods in this class have no effect.

Summary

Public constructors

Style()

Public methods

Notification build()

If this Style object has been set on a notification builder, this method will build that notification and return it.

void setBuilder(NotificationCompat.Builder builder)

Link this rich notification style with a notification builder.

Inherited methods

Public constructors

Style

public Style ()

Public methods

build

public Notification build ()

If this Style object has been set on a notification builder, this method will build that notification and return it. Otherwise, it will return null.

Returns
Notification

setBuilder

public void setBuilder (NotificationCompat.Builder builder)

Link this rich notification style with a notification builder.

Parameters
builder NotificationCompat.Builder