@Implements(value=android.app.NotificationManager.class) public class ShadowNotificationManager extends Object
NotificationManager.| Constructor and Description |
|---|
ShadowNotificationManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(int id) |
void |
cancel(String tag,
int id) |
void |
cancelAll() |
List<android.app.Notification> |
getAllNotifications() |
android.app.Notification |
getNotification(int id) |
android.app.Notification |
getNotification(String tag,
int id) |
void |
notify(int id,
android.app.Notification notification) |
void |
notify(String tag,
int id,
android.app.Notification notification) |
int |
size() |
@Implementation
public void notify(int id,
android.app.Notification notification)
@Implementation public void notify(String tag, int id, android.app.Notification notification)
@Implementation public void cancel(int id)
@Implementation public void cancel(String tag, int id)
@Implementation public void cancelAll()
public int size()
public android.app.Notification getNotification(int id)
public android.app.Notification getNotification(String tag, int id)
public List<android.app.Notification> getAllNotifications()
Copyright © 2015. All rights reserved.