@Implements(value=android.app.Notification.class) public class ShadowNotification extends Object
Notification.| Modifier and Type | Class and Description |
|---|---|
static class |
ShadowNotification.LatestEventInfo |
static class |
ShadowNotification.Progress |
static class |
ShadowNotification.ShadowBigTextStyle |
static class |
ShadowNotification.ShadowBuilder |
static class |
ShadowNotification.ShadowStyle |
| Constructor and Description |
|---|
ShadowNotification() |
| Modifier and Type | Method and Description |
|---|---|
void |
__constructor__(int icon,
CharSequence tickerText,
long when) |
ArrayList<android.app.Notification.Action> |
getActions() |
CharSequence |
getContentInfo() |
CharSequence |
getContentText() |
CharSequence |
getContentTitle() |
ShadowNotification.LatestEventInfo |
getLatestEventInfo() |
ShadowNotification.Progress |
getProgress() |
android.app.Notification |
getRealNotification() |
int |
getSmallIcon() |
android.app.Notification.Style |
getStyle() |
CharSequence |
getTicker() |
long |
getWhen() |
boolean |
isOngoing() |
boolean |
isWhenShown() |
void |
setActions(ArrayList<android.app.Notification.Action> actions) |
void |
setContentInfo(CharSequence contentInfo) |
void |
setContentText(CharSequence contentText) |
void |
setContentTitle(CharSequence contentTitle) |
void |
setLatestEventInfo(android.content.Context context,
CharSequence contentTitle,
CharSequence contentText,
android.app.PendingIntent contentIntent) |
void |
setOngoing(boolean ongoing) |
void |
setProgress(ShadowNotification.Progress progress) |
void |
setShowWhen(boolean showWhen) |
void |
setSmallIcon(int icon) |
void |
setStyle(android.app.Notification.Style style) |
void |
setTicker(CharSequence ticker) |
void |
setUsesChronometer(boolean usesChronometer) |
void |
setWhen(long when) |
boolean |
usesChronometer() |
public android.app.Notification getRealNotification()
public void __constructor__(int icon,
CharSequence tickerText,
long when)
public CharSequence getContentTitle()
public CharSequence getContentText()
public boolean isOngoing()
public int getSmallIcon()
public long getWhen()
public boolean isWhenShown()
public android.app.Notification.Style getStyle()
public ShadowNotification.Progress getProgress()
public boolean usesChronometer()
public void setContentTitle(CharSequence contentTitle)
public void setContentText(CharSequence contentText)
public void setOngoing(boolean ongoing)
public void setSmallIcon(int icon)
public void setWhen(long when)
public void setShowWhen(boolean showWhen)
public CharSequence getTicker()
public void setTicker(CharSequence ticker)
public CharSequence getContentInfo()
public void setContentInfo(CharSequence contentInfo)
public void setActions(ArrayList<android.app.Notification.Action> actions)
public ArrayList<android.app.Notification.Action> getActions()
public void setStyle(android.app.Notification.Style style)
public void setProgress(ShadowNotification.Progress progress)
public void setUsesChronometer(boolean usesChronometer)
@Implementation
public void setLatestEventInfo(android.content.Context context,
CharSequence contentTitle,
CharSequence contentText,
android.app.PendingIntent contentIntent)
public ShadowNotification.LatestEventInfo getLatestEventInfo()
Copyright © 2015. All rights reserved.