BlazeDataSourceType - Android
Represents the source of data for a specific content request.
| Values | Behavior |
|---|---|
labelsPriority | When provided, it defines the priority of labels in an array, determining the order of content sorting. |
orderType | Functions based on the presence of labelsPriority. |
advancedOrderType | When used with orderType, it enables primary and secondary content ordering. |
WithoutlabelsPriority | Content is sorted based on the requested order. The default orderType depends on the label filter expression. |
With labelsPriority | Content is ordered according to the specified priority, and orderType is used for sorting within the same priority level. |
ids | The ‘Manual’ orderType ensures content is received in the order specified in the ID array. |
maxItems | The maxItems to fetch. |
BlazeRecommendationsType | Fetches recommendations based on the specified BlazeRecommendationsType . The behavior and sorting of the recommendations depend on the specific recommendation type used. |
personalizedType | When provided, filters content using BlazeDataSourcePersonalizedType (IDs or labels for specific players, teams, or label expressions). Not the same as Concepts personalization; see Content recommendations. |
| Value | Associated values | Description |
|---|---|---|
| Labels |
| Represents a data source using IBlazeWidgetLabelExpression.It can include additional parameters to specify the priority of labels, the order type, and the maximum number of items. |
| IDs |
| Represents a data source with a list of string identifiers. It also allows specifying the order type. |
Recommendations
| type: BlazeRecommendationsType | Represents a data source using a type of BlazeRecommendationsType. |
| Search | searchText: String (required) maxItems: Int? blazeWidgetLabel: BlazeWidgetLabel? | A case for searching content using free text search. Use this to find content based on any search term without needing predefined labels.searchText: The search term to find relevant content.blazeWidgetLabel: (Optional) a label expression filter used to scope search results to a labeled subset of content, for example, A AND B, A OR B, or A AND (B OR C).Search supports only searchText, optional maxItems, and an optional label expression filter. Search does not support label priority or ordering. |
| Composite | dataSources: List<BlazeCompositeDataSourceEntry> (required) | Combines multiple independent data sources into a single deduplicated feed. See BlazeDataSourceType.Composite for details. |
To load layout and data source from Experiences CMS, set widgetRemoteIdentifier when you initialize the widget. That path is not a BlazeDataSourceType value. See CMS-configured widgets.
Updated about 1 month ago
Did this page help you?
