Added in API level 16

Style

abstract class Style
kotlin.Any
   ↳ android.app.Notification.Style

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

Summary

Public constructors

Public methods
open Notification!

Calls android.app.Notification.Builder#build() on the Builder this Style is attached to.

open Unit

Protected methods
open Unit

open RemoteViews!
getStandardView(layoutId: Int)

open Unit

Overrides ContentTitle in the big form of the template.

open Unit

Set the first line of text after the detail section in the big form of the template.

Properties
Notification.Builder!

Public constructors

Style

Style()

Public methods

build

Added in API level 16
open fun build(): Notification!

Calls android.app.Notification.Builder#build() on the Builder this Style is attached to.

Return
Notification! the fully constructed Notification.

setBuilder

Added in API level 16
open fun setBuilder(builder: Notification.Builder!): Unit

Protected methods

checkBuilder

Added in API level 16
protected open fun checkBuilder(): Unit

getStandardView

Added in API level 16
protected open fun getStandardView(layoutId: Int): RemoteViews!

internalSetBigContentTitle

Added in API level 16
protected open fun internalSetBigContentTitle(title: CharSequence!): Unit

Overrides ContentTitle in the big form of the template. This defaults to the value passed to setContentTitle().

internalSetSummaryText

Added in API level 16
protected open fun internalSetSummaryText(cs: CharSequence!): Unit

Set the first line of text after the detail section in the big form of the template.

Properties

mBuilder

Added in API level 16
protected var mBuilder: Notification.Builder!