android-Notification.Style

Notification.Style

public static abstract class Notification.Style 
extends Object 

java.lang.Object
   ↳ android.app.Notification.Style
Known Indirect Subclasses


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

Summary


Fields

protectedNotification.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.

Inherited methods

From class java.lang.Object

Fields


mBuilder

Added in  API level 16
Notification.Builder mBuilder

Public constructors


Notification.Style

Added in  API level 16
Notification.Style ()

Public methods


build

Added in  API level 16
Notification build ()

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

Returns
Notification the fully constructed Notification.

setBuilder

Added in  API level 16
void setBuilder (Notification.Builder builder)

Parameters
builder Notification.Builder

Protected methods


checkBuilder

Added in  API level 16
void checkBuilder ()

getStandardView

Added in  API level 16
RemoteViews getStandardView (int layoutId)

Parameters
layoutId int
Returns
RemoteViews  

internalSetBigContentTitle

Added in  API level 16
void internalSetBigContentTitle (CharSequence title)

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

Parameters
title CharSequence

internalSetSummaryText

Added in  API level 16
void internalSetSummaryText (CharSequence cs)

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

Parameters
cs CharSequence
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值