Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
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

Public Constructors

public Notification.Style ()

Public Methods

public Notification build ()

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

Returns
  • the fully constructed Notification.

public void setBuilder ( Notification.Builder builder)

Protected Methods

protected void checkBuilder ()

protected RemoteViews getStandardView (int layoutId)

protected void internalSetBigContentTitle ( CharSequence title)

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

protected void internalSetSummaryText ( CharSequence cs)

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