Return the users that the app service recommends as participants in the current user activity.
Typically called when users have an activity with context objects and when users have open entry points in the activity.
Inspect the context IDs, types, and metadata in the context object collection to determine whether the context is relevant to the recommended users.
Typical implementation flow:
- Get the app data source
- Retrieve the data of relevant user IDs according to the context ID
public abstract java.util.Collection<UserProfile> getRelatedUsers(
java.util.Collection<BTOContext> context
)
|
Parameters
- context
- the collection of contexts in the user activity
Return Value
Collection of the suggested user profiles. For users defined in the user repository, the user profile is the userId string. For external users, the user profile is an email address.