| Package | Description |
|---|---|
| com.google.api.client.googleapis.notifications |
Beta Support for notification channels to listen for changes to watched Google API resources. |
| Modifier and Type | Method and Description |
|---|---|
TypedNotification<T> |
TypedNotification.setChanged(java.lang.String changed) |
TypedNotification<T> |
TypedNotification.setChannelExpiration(java.lang.String channelExpiration) |
TypedNotification<T> |
TypedNotification.setChannelId(java.lang.String channelId) |
TypedNotification<T> |
TypedNotification.setChannelToken(java.lang.String channelToken) |
TypedNotification<T> |
TypedNotification.setContent(T content)
Sets the parsed notification content or
null for none. |
TypedNotification<T> |
TypedNotification.setMessageNumber(long messageNumber) |
TypedNotification<T> |
TypedNotification.setResourceId(java.lang.String resourceId) |
TypedNotification<T> |
TypedNotification.setResourceState(java.lang.String resourceState) |
TypedNotification<T> |
TypedNotification.setResourceUri(java.lang.String resourceUri) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
TypedNotificationCallback.onNotification(StoredChannel storedChannel,
TypedNotification<T> notification)
Handles a received typed notification.
|
Copyright © 2010-2018 Google. All Rights Reserved.