Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
added in API level 1

SearchManager.OnCancelListener

public static interface SearchManager.OnCancelListener

android.app.SearchManager.OnCancelListener


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

Summary

Public methods

abstract void onCancel()

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

Public methods

onCancel

added in API level 1
public abstract void onCancel ()

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(SearchManager.OnCancelListener) to register it.