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

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()
void setBuilder(NotificationCompat.Builder builder)

Inherited methods

Public constructors

Style

public Style ()

Public methods

build

public Notification build ()

Returns
Notification

setBuilder

public void setBuilder (NotificationCompat.Builder builder)

Parameters
builder NotificationCompat.Builder