-
public final class FeedsClientKt
-
-
Method Summary
Modifier and Type Method Description final static FeedsClientFeedsClient(Context context, StreamApiKey apiKey, User user, StreamTokenProvider tokenProvider, FeedsConfig config)Initializes a new FeedsClient with the provided apiKey, user, tokenProvider and optional config. -
-
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.
-
-
-
-