0.82.39 - Android
February 6th, 2024
ChangeLog
Added
BlazeDataSourceType.Labelsnow contains alsolabelsPriority. ThelabelsPriorityproperty, when present, determines the order in which content is sorted.- Some examples: [label1, label2], [label1,[or,label2,label3]] , [[and,label1,labe2],label3].
orderType- The existing
orderTypeproperty continues to function as follows:- No
labelsPriorityProvided:- If no
labelsPriorityis provided, the content is sorted based on the requested order. - If the LabelFilterExpression is a single label - the
orderTypedefaults to theorderTypedefined on the label. - If the LabelFilterExpression is a label expression - the default will be ‘RecentlyUpdatedFirst’.
- If no
labelsPrioritystring Provided- If the request includes a
labelsPrioritystring, the content is ordered according to the specified priority. TheorderTypeis then used to sort within the same priority level (i.e., all content corresponding to the same priority), and subsequently, to sort all content without any matching priorities.
- If the request includes a
- No
- The existing
- BlazeSDK.playStories
- BlazeSDK.prepareStories
- Analytics Events:
- Added an event for SDK initialization - "sdk_init".
- Memory management optimizations.
Updated
- BlazeSDK.init method has been modified -
globalDelegateandplayerEntryPointDelegatewere added. - initWidget method has been modified -
orderTypeandmaxItemsFromAPIwere removed, and are now part of thedataSourceinstance. Also, delegates structure has been updated.
Note - this is applicable for all widgets in the SDK. - BlazeMomentsPlayerContainer constructor has been modified -
orderTypeandmaxItemsFromAPIwere removed, and are now part of thedataSourceinstance. Also, delegates structure has been updated. BlazeDataSourceType.Labels- now contains alsolabelsPriority,orderType,maxItemsproperties.orderTypeandmaxItems(previously known asmaxItemsFromAPI) were sent via Widgets'initWidgetmethod, and are now part of theLabelsclass.- Old class & New class
-
data class Labels( var blazeWidgetLabel: IBlazeWidgetLabelExpression ) -
data class Labels( var blazeWidgetLabel: IBlazeWidgetLabelExpression var labelsPriority: List<IBlazeWidgetLabelExpression>? = null, var orderType: OrderType? = null, var maxItems: Int? = null ) BlazeDataSourceType.Ids- now contains alsoorderTypeproperty.orderTypewas sent via Widgets'initWidgetmethod, and now is part of theIdsclass.data class Ids( var ids:List<String>, var orderType: OrderType? = null )- StoriesWidgetsRow (Compose) - fixed property naming typo.
widgetStoriesStateHandle-->widgetStoriesStateHandler - WidgetStoriesStateHandler & WidgetMomentsStateHandler - method has been modified -
orderTypeandmaxItemsFromAPIwere removed, and are now part of thedataSourceTypeinstance.
- StoriesWidgetsRow (Compose) - fixed property naming typo.
- IMA
- A new optional method was added to
BlazeImaHandler- provideCustomImaSdkSettings.
- A new optional method was added to
Removed
- setMaxItemsToFetch method is removed. To achieve the same behavior, please use UpdateDataSource.
Note - this is applicable for all widgets in the SDK.
