OnSilentRecordingShouldRun()

bool OnSilentRecordingShouldRun(inIsRecordingQuestion, inIndex, inIteration) 

Description

This callback is used to instruct the SurveyToGo App if it should start a silent recording when set in the quality control tab of a question or a chapter. 

Parameters

The following is a list of parameters the functions receives 

Parameter Type Description
inIsRecordingQuestion bool determine if it's question or chapter (when true refers to Question)
inIndex Int the index of either the question or chapter
inIteration Int the iteration index, if inside iterated chapter

 

Return Type

bool

 

Example

function OnSilentRecordingShouldRun(inIsRecordingQuestion, inIndex, inIteration){ 
 var retVal = true;
 if (inIsRecordingQuestion == true && inIndex ==105)
 {
    if (inIteration == 3)
    {
        retVal = true;
    }
    else
    {
        retVal = false;
    }
 }   
 return retVal;
}
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.