UserContextApi
Functions
Link copied to clipboard
Adds a listener that will be invoked when the user's current context is updated.
Link copied to clipboard
open fun addProvisionalAwareUserContextUpdateListenerWithCriteria(@NonNull criteria: List<UserContextUpdateCriteria>, @NonNull listener: UserContextUpdateListener)
Adds a listener that will be invoked when the user's current context is updated.
Link copied to clipboard
Adds a listener that will be invoked when the user's current context is updated.
open fun addUserContextUpdateListener(@NonNull criteria: List<UserContextUpdateCriteria>, @NonNull listener: UserContextUpdateListener)
Adds a listener that will be invoked when the user's current context is updated.
Link copied to clipboard
Link copied to clipboard
Removes a previously set user context update listener.
Link copied to clipboard
Retrieves the user's current context.
Link copied to clipboard
open fun requestUserContextIncludingProvisionalEvents(): PendingOperation<UserContext, RequestUserContextError>
Retrieves the user's current context.