Set Dismissed-Survey Handler

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

Surveys.didDismissSurveyHandler = {
    // Change some state
}
IBGSurveys.didDismissSurveyHandler = ^{
    // Change some state
};
Surveys.setOnDismissCallback(new OnDismissCallback() {
            @Override
            public void onDismiss() {
                
            }
        });
Surveys.onDismissCallback(() => {
  //Perform any changes before the survey disappears.
});
cordova.plugins.surveys.setOnDismissHandler(() => {console.log('on dismiss survey')}, (error) => {})
//iOS
IBGSurveys.DidDismissSurveyHandler = () =>
{
	System.Console.WriteLine("Did Dismiss Survey");
};

//Android
Surveys.SetOnDismissCallback(new IOnDismissSurveyCallback());

public class IOnDismissSurveyCallback : Java.Lang.Object, IOnDismissCallback
{
  public void OnDismiss()
  {
    Android.Util.Log.Warn("PreShowingSurvey", "Pre Showing survey");
  }
}
Surveys.setOnDismissCallback(Function function);