Skip to main content

dismissOverlay

Dismisses the current overlay.

Overview​

dismissOverlay() on the session closes the overlay currently shown and clears overlays. Has no effect when there is no overlay.

Syntax​

fun dismissOverlay()

Returns​

This method does not return a value.

Example​

// Dismiss the overlay when the user taps outside it
sdk.dismissOverlay()

Notes​

  • See overlays to observe the current overlay.