Added in API level 1

OnCancelListener


interface OnCancelListener
android.app.SearchManager.OnCancelListener

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

Summary

Public methods
abstract Unit

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

Public methods

onCancel

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

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