android-components / mozilla.components.concept.toolbar / Toolbar / onBackPressed

onBackPressed

abstract fun onBackPressed(): Boolean (source)

Should be called by an activity when the user pressed the back key of the device.

Return Returns true if the back press event was handled and should not be propagated further.