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.notifications.json |
Beta JSON-based notification handling for notification channels. |
com.google.api.client.googleapis.notifications.json.gson | |
com.google.api.client.googleapis.notifications.json.jackson2 | |
com.google.api.client.googleapis.testing.notifications |
Beta Test utilities for the com.google.api.client.googleapis.notifications package. |
Modifier and Type | Class and Description |
---|---|
class |
TypedNotificationCallback<T>
Beta Callback to receive notifications for watched resource in which the . |
Modifier and Type | Method and Description |
---|---|
UnparsedNotificationCallback |
StoredChannel.getNotificationCallback()
Returns the notification callback called when a notification is received for this subscription.
|
Constructor and Description |
---|
StoredChannel(UnparsedNotificationCallback notificationCallback)
Constructor with a random UUID using
NotificationUtils.randomUuidString() . |
StoredChannel(UnparsedNotificationCallback notificationCallback,
String id)
Constructor with a custom UUID.
|
Modifier and Type | Class and Description |
---|---|
class |
JsonNotificationCallback<T>
|
Modifier and Type | Class and Description |
---|---|
class |
GsonNotificationCallback<T>
Beta A TypedNotificationCallback which uses an JSON content encoding with
GsonFactory.getDefaultInstance() . |
Modifier and Type | Class and Description |
---|---|
class |
JacksonNotificationCallback<T>
Beta A TypedNotificationCallback which uses an JSON content encoding with
JacksonFactory.getDefaultInstance() . |
Modifier and Type | Class and Description |
---|---|
class |
MockUnparsedNotificationCallback
|
Copyright © 2010–2019 Google. All rights reserved.