dismiss

Should be called by the UI layer if the user hits the dismiss button.

This ends the presentment flow by calling setCompleted with the error parameter set to a PresentmentCanceled instance.

Parameters

dismissType

the type of interaction the user had with the dismiss button