onSessionEnded method

void onSessionEnded(
  1. bool didUserInteract
)

Called when a CustomTabsSession is ending or when no further Engagement Signals callbacks are expected to report whether any user action has occurred during the session.

didUserInteract - Whether the user has interacted with the page in any way, e.g. scrolling.

NOTE: available only if PlatformChromeSafariBrowser.isEngagementSignalsApiAvailable returns true.

Officially Supported Platforms/Implementations:

Implementation

void onSessionEnded(bool didUserInteract) {}