Interface SubscriptionManager.Callback<T>
-
- Enclosing interface:
- SubscriptionManager
public static interface SubscriptionManager.Callback<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonCompleted()voidonConnected()voidonError(ApolloSubscriptionException error)voidonNetworkError(java.lang.Throwable t)voidonResponse(SubscriptionResponse<T> response)voidonTerminated()
-
-
-
Method Detail
-
onResponse
void onResponse(@NotNull SubscriptionResponse<T> response)
-
onError
void onError(@NotNull ApolloSubscriptionException error)
-
onNetworkError
void onNetworkError(@NotNull java.lang.Throwable t)
-
onCompleted
void onCompleted()
-
onTerminated
void onTerminated()
-
onConnected
void onConnected()
-
-