Added in API level 1

OnDismissListener


interface OnDismissListener
android.app.SearchManager.OnDismissListener

See SearchManager.setOnDismissListener for configuring your activity to monitor search UI state.

Summary

Public methods
abstract Unit

This method will be called when the search UI is dismissed.

Public methods

onDismiss

Added in API level 1
abstract fun onDismiss(): Unit

This method will be called when the search UI is dismissed. To make use of it, you must implement this method in your activity, and call SearchManager.setOnDismissListener to register it.