public static interface AppSyncSubscriptionCall.Callback<T>
| Modifier and Type | Method and Description |
|---|---|
void |
onCompleted()
This method is called when a subscription is terminated.
|
void |
onFailure(ApolloException e)
This method is called if there is an error creating subscription or parsing server response.
|
void |
onResponse(com.apollographql.apollo.api.Response<T> response)
This method is called every time a message is received.
|
void onResponse(@Nonnull
com.apollographql.apollo.api.Response<T> response)
void onFailure(@Nonnull
ApolloException e)
void onCompleted()