public class NotificationsService extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
NotificationsService.NotificationObserver |
| Modifier and Type | Field and Description |
|---|---|
static int |
needGetUpdates |
static int |
updatesInvalidated |
| Modifier and Type | Method and Description |
|---|---|
void |
addObserver(NotificationsService.NotificationObserver observer,
int notificationId) |
static NotificationsService |
getInstance() |
void |
postNotification(int notificationId,
Object... args) |
void |
removeObserver(NotificationsService.NotificationObserver observer,
int notificationId) |
public static final int updatesInvalidated
public static final int needGetUpdates
public static NotificationsService getInstance()
public void addObserver(NotificationsService.NotificationObserver observer, int notificationId)
public void removeObserver(NotificationsService.NotificationObserver observer, int notificationId)
public void postNotification(int notificationId,
Object... args)
Copyright © 2017. All rights reserved.