| 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(String changed) |
TypedNotification<T> |
TypedNotification.setChannelExpiration(String channelExpiration) |
TypedNotification<T> |
TypedNotification.setChannelId(String channelId) |
TypedNotification<T> |
TypedNotification.setChannelToken(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(String resourceId) |
TypedNotification<T> |
TypedNotification.setResourceState(String resourceState) |
TypedNotification<T> |
TypedNotification.setResourceUri(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–2022 Google. All rights reserved.