onHostPause

open fun onHostPause(@Nullable activity: Activity)

Call this from onPause. This notifies any listening modules so they can do any necessary cleanup. The passed Activity is the current Activity being paused. This will always be the foreground activity that would be returned by getCurrentActivity.

Parameters

activity

the activity being paused


open fun onHostPause()

Deprecated

Call this from onPause. This notifies any listening modules so they can do any necessary cleanup.

Deprecated

Use onHostPause instead.