@Implements(value=android.app.Notification.Builder.class) public static class ShadowNotification.ShadowBuilder extends Object
| Constructor and Description |
|---|
ShadowBuilder() |
| Modifier and Type | Method and Description |
|---|---|
android.app.Notification.Builder |
addAction(int icon,
CharSequence title,
android.app.PendingIntent intent) |
android.app.Notification |
build() |
android.app.Notification |
buildUnstyled() |
android.app.Notification.Builder |
setContentInfo(CharSequence contentInfo) |
android.app.Notification.Builder |
setContentText(CharSequence text) |
android.app.Notification.Builder |
setContentTitle(CharSequence contentTitle) |
android.app.Notification.Builder |
setOngoing(boolean ongoing) |
android.app.Notification.Builder |
setProgress(int max,
int progress,
boolean indeterminate) |
android.app.Notification.Builder |
setShowWhen(boolean showWhen) |
android.app.Notification.Builder |
setSmallIcon(int smallIcon) |
android.app.Notification.Builder |
setStyle(android.app.Notification.Style style) |
android.app.Notification.Builder |
setTicker(CharSequence ticker) |
android.app.Notification.Builder |
setUsesChronometer(boolean usesChronometer) |
android.app.Notification.Builder |
setWhen(long when) |
@Implementation public android.app.Notification build()
@Implementation public android.app.Notification buildUnstyled()
@Implementation public android.app.Notification.Builder setContentTitle(CharSequence contentTitle)
@Implementation public android.app.Notification.Builder setContentText(CharSequence text)
@Implementation public android.app.Notification.Builder setSmallIcon(int smallIcon)
@Implementation public android.app.Notification.Builder setOngoing(boolean ongoing)
@Implementation public android.app.Notification.Builder setWhen(long when)
@Implementation public android.app.Notification.Builder setTicker(CharSequence ticker)
@Implementation public android.app.Notification.Builder setContentInfo(CharSequence contentInfo)
@Implementation
public android.app.Notification.Builder addAction(int icon,
CharSequence title,
android.app.PendingIntent intent)
@Implementation public android.app.Notification.Builder setStyle(android.app.Notification.Style style)
@Implementation
public android.app.Notification.Builder setProgress(int max,
int progress,
boolean indeterminate)
@Implementation public android.app.Notification.Builder setUsesChronometer(boolean usesChronometer)
@Implementation public android.app.Notification.Builder setShowWhen(boolean showWhen)
Copyright © 2015. All rights reserved.