MockUnparsedNotificationCallback
instead.@Deprecated @Beta public class MockNotificationCallback extends Object implements NotificationCallback
| Constructor and Description |
|---|
MockNotificationCallback()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
handleNotification(StoredSubscription subscription,
UnparsedNotification notification)
Deprecated.
Handles a received push notification.
|
boolean |
wasCalled()
Deprecated.
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.