Package 

Class FeedsClientKt

    • Method Summary

      Modifier and Type Method Description
      final static FeedsClient FeedsClient(Context context, StreamApiKey apiKey, User user, StreamTokenProvider tokenProvider, FeedsConfig config) Initializes a new FeedsClient with the provided apiKey, user, tokenProvider and optional config.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • FeedsClient

         final static FeedsClient FeedsClient(Context context, StreamApiKey apiKey, User user, StreamTokenProvider tokenProvider, FeedsConfig config)

        Initializes a new FeedsClient with the provided apiKey, user, tokenProvider and optional config.

        Parameters:
        context - The Android Context for the client.
        apiKey - The API key for the client.
        user - The user associated with the client.
        tokenProvider - The provider for user tokens, used for refreshing tokens as needed.
        config - Configuration for the client, such as a custom file uploader, logging, or extra headers to send with every HTTP request.