Android APIs
public static abstract class

Notification.Style

extends Object
java.lang.Object
   ↳ android.app.Notification.Style
Known Direct Subclasses

Class Overview

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

Summary

Fields
protected Notification.Builder mBuilder
Public Constructors
Notification.Style()
Public Methods
Notification build()
Calls build() on the Builder this Style is attached to.
void setBuilder(Notification.Builder builder)
Protected Methods
void checkBuilder()
RemoteViews getStandardView(int layoutId)
void internalSetBigContentTitle(CharSequence title)
Overrides ContentTitle in the big form of the template.
void internalSetSummaryText(CharSequence cs)
Set the first line of text after the detail section in the big form of the template.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected Notification.Builder mBuilder

Added in API level 16

Public Constructors

public Notification.Style ()

Added in API level 16

Public Methods

public Notification build ()

Added in API level 16

Calls build() on the Builder this Style is attached to.

Returns
  • the fully constructed Notification.

public void setBuilder (Notification.Builder builder)

Added in API level 16

Protected Methods

protected void checkBuilder ()

Added in API level 16

protected RemoteViews getStandardView (int layoutId)

Added in API level 16

protected void internalSetBigContentTitle (CharSequence title)

Added in API level 16

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

protected void internalSetSummaryText (CharSequence cs)

Added in API level 16

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