shouldDelegateToInContextView

abstract fun shouldDelegateToInContextView(url: String?, inContextViewAlreadyShowing: Boolean?): Boolean

Determines if a link should be consumed by the in-context Email Protection feature or opened as a normal URL in the browser.

Parameters

url

The url which will be checked to determine if a verification link or not

inContextViewAlreadyShowing

Whether the in-context view is already showing. If it is not showing, then the link should not be consumed in-context.