For the complete documentation index, see llms.txt. This page is also available as Markdown.

Set Dismissed-Survey Handler

API reference for the Luciq dismissed-survey handler. Register a callback that runs immediately after a user dismisses a survey.

This handler can be used to run a block code right after a survey is dismissed.

Surveys.didFinishSurveyHandler = { (state, info, identifier) -> Void in
    // Code here
}
LCQSurveys.didFinishSurveyHandler = ^(LCQSurveyFinishedState state, NSDictionary * _Nonnull info, NSString * _Nonnull identifier) {
    // Code here
};
Surveys.setOnFinishCallback(new OnFinishCallback() {
            @Override
            public void onFinish(String surveyId, String state, JSONObject response) {
            }
        });
Surveys.setOnFinishCallback(OnFinishCallback {
            }
        )
Surveys.setOnDismissHandler(() => {
  //Perform any changes before the survey disappears.
});
Surveys.setOnDismissCallback(Function function);

Last updated