| 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.
|
| Modifier and Type | Method and Description |
|---|---|
TypedNotificationCallback<T> |
TypedNotificationCallback.setDataType(Class<T> dataClass)
Sets the data type which this handler can parse or
Void.class if no data type is
expected. |
| Modifier and Type | Method and Description |
|---|---|
<N> SubscribeRequest |
SubscribeRequest.withTypedNotificationCallback(SubscriptionStore subscriptionStore,
Class<N> notificationCallbackClass,
TypedNotificationCallback<N> typedNotificationCallback)
Sets the subscription store and typed notification callback associated with this subscription.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JsonNotificationCallback<T>
A
TypedNotificationCallback which uses an JSON content encoding. |
| Modifier and Type | Method and Description |
|---|---|
<N> JsonSubscribeRequest |
JsonSubscribeRequest.withTypedNotificationCallback(SubscriptionStore subscriptionStore,
Class<N> notificationCallbackClass,
TypedNotificationCallback<N> typedNotificationCallback) |
Copyright © 2010-2012 Google. All Rights Reserved.