Quiz (beta)
This subobject enables the Stagecast quizzes in your Moment
Introduction
...
"plugins": [ ..., "prizes", "quiz" ]
...API Docs
setContext(quizId:string): Promise<Quiz>
setContext(quizId:string): Promise<Quiz>const { quizId } = await SDK.connection.getMomentClass();
SDK.quiz.setContext(quizId) getQuiz(): Promise<Quiz>
getQuiz(): Promise<Quiz>getQuestion(id): Promise<Question>
(id): Promise<Question>answerQuestion(questionHash, answer): Promise<AnswerScore>
(questionHash, answer): Promise<AnswerScore>getTopScores(offset?, limit?): Promise<TopScores>
(offset?, limit?): Promise<TopScores>getUserScores(): Promise<LeaderboardEntry>
(): Promise<LeaderboardEntry>getUserProfile(): Promise<Profile>
(): Promise<Profile>setUserProfile(profile): Promise<Profile>
(profile): Promise<Profile>playNewRound(): Promise<Profile>
(): Promise<Profile>Last updated