IntractableWidgetTimelineViewModel
class IntractableWidgetTimelineViewModel(contentSession: LiveLikeContentSession, predicate: (LiveLikeWidget) -> Boolean = { _ -> true }) : WidgetTimeLineViewModel
This class is responsible for managing intractable widgets in timeline. By default all widgets will be intractable without timer.
Constructors
Link copied to clipboard
constructor(contentSession: LiveLikeContentSession, predicate: (LiveLikeWidget) -> Boolean = { _ -> true })
Properties
Functions
Link copied to clipboard
Link copied to clipboard
open override fun decideWidgetInteraction(liveLikeWidget: LiveLikeWidget, timeLineWidgetApiSource: WidgetApiSource): WidgetStates
Decides widget interaction, if widgets will be intractable or not By default all widgets will be intractable
Link copied to clipboard