Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

Style

abstract class Style
kotlin.Any
   ↳ androidx.core.app.NotificationCompat.Style

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

Summary

Public constructors

An object that can apply a rich notification style to a Notification.Builder object.

Public methods
open Notification?

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

open Unit

Link this rich notification style with a notification builder.

Public constructors

<init>

Style()

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

Public methods

build

@Nullable open fun build(): Notification?

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.

setBuilder

open fun setBuilder(@Nullable builder: NotificationCompat.Builder?): Unit

Link this rich notification style with a notification builder.