use of com.instructure.canvasapi2.models.QuizSubmissionQuestionResponse in project instructure-android by instructure.
the class QuizManager method postQuizQuestionMultiChoice.
public static void postQuizQuestionMultiChoice(QuizSubmission quizSubmission, long answer, long questionId, boolean forceNetwork, @NonNull StatusCallback<QuizSubmissionQuestionResponse> callback) {
final RestBuilder adapter = new RestBuilder(callback);
final RestParams params = new RestParams.Builder().withPerPageQueryParam(true).withShouldIgnoreToken(false).withForceReadFromNetwork(forceNetwork).build();
QuizAPI.postQuizQuestionMultiChoice(quizSubmission.getId(), quizSubmission.getAttempt(), questionId, answer, quizSubmission.getValidationToken(), adapter, params, callback);
}
Aggregations