NumberPredictionFollowUpWidgetModel

Properties

Link copied to clipboard

widget data holder

Functions

Link copied to clipboard
abstract fun claimRewards()

Attempts to claim rewards for this Number Prediction Follow Up

Link copied to clipboard
abstract fun finish()

call this to cleanup the viewModel and its association

Link copied to clipboard

returns the predicted scores which was voted previously

Link copied to clipboard

Call this to load the latest user interaction for this widget

Link copied to clipboard

Call this to load the user's interaction history for this Widget

Link copied to clipboard
abstract fun markAsInteractive()

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
abstract fun registerImpression(url: String, liveLikeCallback: LiveLikeCallback<WidgetImpressions>)

call this to register widget Impressions