-
public final class UpolloClientClient interface for interacting with Upollo.
-
-
Constructor Summary
Constructors Constructor Description UpolloClient(Context ctx, String publicApiKey)Set up a UpolloClient UpolloClient(Context ctx, String publicApiKey, Map<String, String> options)Set up a UpolloClient with special options.
-
Method Summary
Modifier and Type Method Description final CompletableFuture<<ERROR CLASS>>,)>assess (<ERROR CLASS> userinfo, <ERROR CLASS> eventtype)Inform Upollo of an event in your client application, and get back an immediate assessment of the user. final CompletableFuture<<ERROR CLASS>>,)>track (<ERROR CLASS> userinfo, <ERROR CLASS> eventtype)Inform Upollo of an event in your client application, and get back a receipt in the form of an EventToken. -
-
Constructor Detail
-
UpolloClient
UpolloClient(Context ctx, String publicApiKey)
Set up a UpolloClient- Parameters:
ctx- within which Upollo should gather information.publicApiKey- for your Upollo project.
-
-
Method Detail
-
assess
final CompletableFuture<<ERROR CLASS>> ,
)>assess (<ERROR CLASS> userinfo, <ERROR CLASS> eventtype)Inform Upollo of an event in your client application, and get back an immediate assessment of the user.
- Parameters:
userinfo- containing any details known about the current user, or empty if you have none.eventtype- which occurred and instigated this request.
-
track
final CompletableFuture<<ERROR CLASS>> ,
)>track (<ERROR CLASS> userinfo, <ERROR CLASS> eventtype)Inform Upollo of an event in your client application, and get back a receipt in the form of an EventToken.
- Parameters:
userinfo- containing any details known about the current user, or empty if you have none.eventtype- which occurred and instigated this request.
-
-
-
-