Lifecycle

interface Lifecycle

Inheritors

Functions

Link copied to clipboard
abstract fun onBackPressed(): Boolean
Call whenever the back button is pressed
Link copied to clipboard
abstract fun onConfigurationChanged(activity: AppCompatActivity, newConfig: Configuration)
This method makes sure that the sdk properly loads the selected language when language is switched.
Link copied to clipboard
abstract fun onDestroy()
Notify SDK of activity destroyed.
Link copied to clipboard
abstract fun onPause()
Notify SDK of activity paused
Link copied to clipboard
abstract fun onRequestPermissionsResult(requestCode: Int, @NonNull permissions: Array<String>, @NonNull grantResults: Array<Int>): Boolean
Link copied to clipboard
abstract fun onResume()
Notify SDK of activity resumed