ForegroundActivityEvent
Lifecycle events emitted through the SDK's com.okta.authfoundation.events.EventCoordinator while the browser redirect flow is in the foreground. Observe these via an com.okta.authfoundation.events.EventHandler to react to the redirect activity's lifecycle (for example, to detect a user-cancelled flow). This is a UIEvent.
Inheritors
Types
Emitted when the user presses the back button while the redirect activity is in the foreground.
Emitted when the redirect activity is created and the browser flow is about to launch.
Emitted when the redirect activity is destroyed.
Emitted when a redirect Intent is delivered back to the activity (the browser returned a result).
Emitted when the activity is paused (the browser or another activity has taken focus).
Emitted when the user returns to the app without completing the flow (e.g. back-navigation), typically preceding a WebAuthentication.FlowCancelledException.