NumberPredictionWidgetModel
Functions
Link copied to clipboard
Call this to load the latest user interaction for this widget
Link copied to clipboard
abstract fun loadInteractionHistory(liveLikeCallback: LiveLikeCallback<List<NumberPredictionWidgetUserInteraction>>)
Call this to load the user's interaction history for this Widget
Link copied to clipboard
abstract fun lockInVote(options: List<NumberPredictionVotes>, liveLikeCallback: LiveLikeCallback<VoteResponse>? = null)
Locks the user's vote
Link copied to clipboard
This will capture the analytics event Widget Became Interactive It should be called when the widget is opened first time for user interaction
Link copied to clipboard
call this to register widget Impressions