Package | Description |
---|---|
com.google.api.client.googleapis.notifications |
Beta Support for notification channels to listen for changes to watched Google API resources. |
com.google.api.client.googleapis.testing.notifications |
Modifier and Type | Method and Description |
---|---|
UnparsedNotification |
UnparsedNotification.setChanged(String changed) |
UnparsedNotification |
UnparsedNotification.setChannelExpiration(String channelExpiration) |
UnparsedNotification |
UnparsedNotification.setChannelId(String channelId) |
UnparsedNotification |
UnparsedNotification.setChannelToken(String channelToken) |
UnparsedNotification |
UnparsedNotification.setContentStream(InputStream contentStream)
Sets the notification content content input stream or
null for none. |
UnparsedNotification |
UnparsedNotification.setContentType(String contentType)
Sets the notification content media type for the content stream or
null for none or
unknown. |
UnparsedNotification |
UnparsedNotification.setMessageNumber(long messageNumber) |
UnparsedNotification |
UnparsedNotification.setResourceId(String resourceId) |
UnparsedNotification |
UnparsedNotification.setResourceState(String resourceState) |
UnparsedNotification |
UnparsedNotification.setResourceUri(String resourceUri) |
Modifier and Type | Method and Description |
---|---|
void |
TypedNotificationCallback.onNotification(StoredChannel storedChannel,
UnparsedNotification notification) |
void |
UnparsedNotificationCallback.onNotification(StoredChannel storedChannel,
UnparsedNotification notification)
Handles a received unparsed notification.
|
Constructor and Description |
---|
TypedNotification(UnparsedNotification sourceNotification) |
Modifier and Type | Method and Description |
---|---|
void |
MockUnparsedNotificationCallback.onNotification(StoredChannel storedChannel,
UnparsedNotification notification) |
Copyright © 2010–2020 Google. All rights reserved.