Package io.getstream.core
Class StreamAnalytics
- java.lang.Object
-
- io.getstream.core.StreamAnalytics
-
public final class StreamAnalytics extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.URL
createRedirectURL(Token token, java.net.URL url, Impression[] impressions, Engagement[] engagements)
java8.util.concurrent.CompletableFuture<java.lang.Void>
trackEngagement(Token token, Engagement... events)
java8.util.concurrent.CompletableFuture<java.lang.Void>
trackImpression(Token token, Impression event)
-
-
-
Method Detail
-
trackEngagement
public java8.util.concurrent.CompletableFuture<java.lang.Void> trackEngagement(Token token, Engagement... events) throws StreamException
- Throws:
StreamException
-
trackImpression
public java8.util.concurrent.CompletableFuture<java.lang.Void> trackImpression(Token token, Impression event) throws StreamException
- Throws:
StreamException
-
createRedirectURL
public java.net.URL createRedirectURL(Token token, java.net.URL url, Impression[] impressions, Engagement[] engagements) throws StreamException
- Throws:
StreamException
-
-