Interface HtmlGameView
-
- All Superinterfaces:
ChallengeResponseView,GameView,com.cheetahdigital.uikit.architecture.mvp.MvpView
- All Known Implementing Classes:
HtmlGameFragment
public interface HtmlGameView extends GameView
This view must be implemented to notify the Activity or Fragment of the API call returns
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidprepareGame(java.lang.String url, java.lang.String prizes, java.lang.String genericBlob)Notifies the view to initialize the game-
Methods inherited from interface com.cheetahdigital.challenges.ui.responses.base.ChallengeResponseView
onChallengeRespondSuccess, showErrorMessage, showLoading, showReward
-
Methods inherited from interface com.cheetahdigital.challenges.ui.responses.game.base.GameView
setGameError, setGameResult, showGameLostMessage, showGameWonMessage
-
-
-
-
Method Detail
-
prepareGame
void prepareGame(java.lang.String url, java.lang.String prizes, java.lang.String genericBlob)Notifies the view to initialize the game- Parameters:
url- game urlprizes- serialized list ofPrizegenericBlob- json object used for game preparation
-
-