@Beta public class MockUnparsedNotificationCallback extends Object implements UnparsedNotificationCallback
| Constructor and Description |
|---|
MockUnparsedNotificationCallback() |
| Modifier and Type | Method and Description |
|---|---|
void |
onNotification(StoredChannel storedChannel,
UnparsedNotification notification)
Handles a received unparsed notification.
|
boolean |
wasCalled()
Returns whether this handler was called.
|
public boolean wasCalled()
public void onNotification(StoredChannel storedChannel, UnparsedNotification notification) throws IOException
UnparsedNotificationCallbackonNotification in interface UnparsedNotificationCallbackstoredChannel - stored notification channelnotification - unparsed notificationIOExceptionCopyright © 2010–2024 Google. All rights reserved.