Interface ApolloSubscriptionCall.Factory

    • Method Detail

      • subscribe

        <D extends com.apollographql.apollo.api.Operation.Data,​T,​V extends com.apollographql.apollo.api.Operation.Variables> ApolloSubscriptionCall<T> subscribe​(@NotNull
                                                                                                                                                                             com.apollographql.apollo.api.Subscription<D,​T,​V> subscription)
        Creates and prepares a new ApolloSubscriptionCall call.
        Parameters:
        subscription - to be sent to the subscription server to start listening pushed updates
        Returns:
        prepared ApolloSubscriptionCall call to be executed