@Implements(value=android.app.NotificationManager.class)
public class ShadowNotificationManager
extends java.lang.Object
NotificationManager.| Constructor and Description |
|---|
ShadowNotificationManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(int id) |
void |
cancel(java.lang.String tag,
int id) |
void |
cancelAll() |
android.service.notification.StatusBarNotification[] |
getActiveNotifications() |
java.util.List<android.app.Notification> |
getAllNotifications() |
android.app.Notification |
getNotification(int id) |
android.app.Notification |
getNotification(java.lang.String tag,
int id) |
void |
notify(int id,
android.app.Notification notification) |
void |
notify(java.lang.String tag,
int id,
android.app.Notification notification) |
int |
size() |
@Implementation
public void notify(int id,
android.app.Notification notification)
@Implementation
public void notify(java.lang.String tag,
int id,
android.app.Notification notification)
@Implementation public void cancel(int id)
@Implementation
public void cancel(java.lang.String tag,
int id)
@Implementation public void cancelAll()
@Implementation(minSdk=23) public android.service.notification.StatusBarNotification[] getActiveNotifications()
public int size()
public android.app.Notification getNotification(int id)
public android.app.Notification getNotification(java.lang.String tag,
int id)
public java.util.List<android.app.Notification> getAllNotifications()