public class MockNotificationCallback extends Object implements NotificationCallback
NotificationCallback class.| Constructor and Description |
|---|
MockNotificationCallback() |
| Modifier and Type | Method and Description |
|---|---|
void |
handleNotification(StoredSubscription subscription,
UnparsedNotification notification)
Handles a received push notification.
|
boolean |
wasCalled()
Returns
true if this handler was called. |
public boolean wasCalled()
true if this handler was called.public void handleNotification(StoredSubscription subscription, UnparsedNotification notification)
NotificationCallbackhandleNotification in interface NotificationCallbacksubscription - Subscription to which this notification belongsnotification - Notification which was delivered to this applicationCopyright © 2010-2013 Google. All Rights Reserved.