| Package | Description |
|---|---|
| com.google.api.client.googleapis.subscriptions |
Support for creating subscriptions and receiving notifications for Google APIs.
|
| com.google.api.client.googleapis.subscriptions.json |
JSON-based notification handling for subscriptions.
|
| com.google.api.client.googleapis.testing.subscriptions |
Test utilities for the Subscriptions extension package.
|
| Modifier and Type | Class and Description |
|---|---|
class |
TypedNotificationCallback<T>
Callback which is used to receive typed
Notifications after subscribing to a topic. |
| Modifier and Type | Method and Description |
|---|---|
NotificationCallback |
StoredSubscription.getNotificationCallback()
Returns the notification callback called when a notification is received for this subscription.
|
| Constructor and Description |
|---|
StoredSubscription(NotificationCallback notificationCallback)
Constructor with a random UUID using
StoredSubscription.randomId(). |
StoredSubscription(NotificationCallback notificationCallback,
com.google.api.client.json.GenericJson subscriptionJson)
Constructor based on a JSON-formatted subscription response information.
|
StoredSubscription(NotificationCallback notificationCallback,
String id)
Constructor with a custom UUID.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JsonNotificationCallback<T>
A
TypedNotificationCallback which uses an JSON content encoding. |
| Modifier and Type | Class and Description |
|---|---|
class |
MockNotificationCallback
Mock for the
NotificationCallback class. |
Copyright © 2010-2013 Google. All Rights Reserved.