Links

UserContextUpdateListener

This interface is part of an Early Access feature, and is subject to change in the future.
An interface for handling updates to the user's context. Used with UserContextApi.addUserContextUpdateListener(UserContextUpdateListener)

UserContextUpdateListener API

void

onUserContextUpdated()

void onUserContextUpdated(List<UserContextUpdateCriteria> criteria, UserContext userContext)
Returns the new user context.
Parameters
criteria
A list that filters which UserContextUpdateCriteria to return.
userContext
A UserContext object that contains the user's context.