Interface HtmlGameView
-
- All Superinterfaces:
ChallengeResponseView
,GameView
,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 void
prepareGame(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 ofPrize
genericBlob
- json object used for game preparation
-
-