Join us on the livestream at Android Dev Summit on 7-8 November 2018, starting at 10AM PDT!
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.