| 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 |
Beta Test utilities for the com.google.api.client.googleapis.notifications package. |
| 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 |
UnparsedNotificationCallback.onNotification(StoredChannel storedChannel,
UnparsedNotification notification)
Handles a received unparsed notification.
|
void |
TypedNotificationCallback.onNotification(StoredChannel storedChannel,
UnparsedNotification notification) |
| Constructor and Description |
|---|
TypedNotification(UnparsedNotification sourceNotification) |
| Modifier and Type | Method and Description |
|---|---|
void |
MockUnparsedNotificationCallback.onNotification(StoredChannel storedChannel,
UnparsedNotification notification) |
Copyright © 2010-2016 Google. All Rights Reserved.