FollowUpWidgetViewModel
interface FollowUpWidgetViewModel
Fields
Name | Description |
---|---|
abstract voteResults: Stream<LiveLikeWidgetResult>
|
live stream for vote results |
Methods
getPredictionVoteId
abstract fun getPredictionVoteId(): String?
ReturnValue
Name | Description |
---|---|
String?
|
claimRewards
abstract fun claimRewards()
claim earned rewards if any for the chosen prediction
ReturnValue
Name | Description |
---|---|
Unit
|
return the prediction option Id which it was voted previously