| 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 |
Subscription.getNotificationCallback()
Returns the notification callback called when a notification is received for this subscription.
|
NotificationCallback |
SubscribeRequest.getNotificationCallback()
Returns the notification callback or
null for none. |
| Modifier and Type | Method and Description |
|---|---|
SubscribeRequest |
SubscribeRequest.withNotificationCallback(SubscriptionStore subscriptionStore,
NotificationCallback notificationCallback)
Sets the subscription store and notification callback associated with this subscription.
|
| Constructor and Description |
|---|
Subscription(NotificationCallback handler,
String clientToken,
String subscriptionId)
Constructor to be called before making the subscribe request.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JsonNotificationCallback<T>
A
TypedNotificationCallback which uses an JSON content encoding. |
| Modifier and Type | Method and Description |
|---|---|
JsonSubscribeRequest |
JsonSubscribeRequest.withNotificationCallback(SubscriptionStore subscriptionStore,
NotificationCallback notificationCallback) |
| Modifier and Type | Class and Description |
|---|---|
class |
MockNotificationCallback
Mock for the
NotificationCallback class. |
Copyright © 2010-2012 Google. All Rights Reserved.