GuidesAPI ReferenceRelease Notes
HomeLog InHome
Guides

BlazeDataSourcePersonalizedType - Android

BlazeDataSourcePersonalizedType is a sealed class that represents optional ID or label filtering when configuring Blaze data sources (for example, with BlazeDataSourceType.Labels). It isn't the same as the Concepts term personalization; see Content recommendations.

ValuesAssociated valuesBehavior
Ids
  • var idsMap: Map<ContentType, List<String>>
OR
  • playerIds: List<String> = emptyList()
  • teamIds: List<String> = emptyList()
The content is filtered based on provided IDs grouped by content type (e.g., players, teams). It can be used when the app knows specific entities of interest.
Labels
  • var labelsFilter: BlazeWidgetLabel
  • var labelsPriority: List<BlazeWidgetLabel> = emptyList()
The content is filtered using a mandatory filter expression and prioritized using an array of label expressions.

ContentType

Enum to define the supported content types for ID-based filtering with BlazeDataSourcePersonalizedType.Ids. Used as keys in the idsMap Map.

ValueDescription
PLAYERSUse player IDs for filtering
TEAMSUse team IDs for filtering

Did this page help you?