-
- All Implemented Interfaces:
public final class StreamClientA class that provides different clients to interact with Stream Server.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classStreamClient.Companion
-
Field Summary
Fields Modifier and Type Field Description private final ActivityClientactivityClientprivate final UserClientuserClient
-
Method Summary
Modifier and Type Method Description final ActivityClientgetActivityClient()final UserClientgetUserClient()final FlatFeedflatFeed(FeedID feedID)Create a FlatFeed final NotificationFeednotificationFeed(FeedID feedID)Create a NotificationFeed final AggregatedFeedaggregatedFeed(FeedID feedID)Create a AggregatedFeed final CollectionsClientcollectionsClient(String userID)Create a CollectionsClient final ReactionsClientreactionClient(String userID)Create a ReactionsClient -
-
Method Detail
-
getActivityClient
final ActivityClient getActivityClient()
-
getUserClient
final UserClient getUserClient()
-
flatFeed
final FlatFeed flatFeed(FeedID feedID)
Create a FlatFeed
- Parameters:
feedID- The feed Id of the FlatFeed
-
notificationFeed
final NotificationFeed notificationFeed(FeedID feedID)
Create a NotificationFeed
- Parameters:
feedID- The feed Id of the NotificationFeed
-
aggregatedFeed
final AggregatedFeed aggregatedFeed(FeedID feedID)
Create a AggregatedFeed
- Parameters:
feedID- The feed Id of the AggregatedFeed
-
collectionsClient
final CollectionsClient collectionsClient(String userID)
Create a CollectionsClient
- Parameters:
userID- The id of the user to which the collections belong.
-
reactionClient
final ReactionsClient reactionClient(String userID)
Create a ReactionsClient
- Parameters:
userID- The id of the user to which the reactions belong.
-
-
-
-