Added in API level 1

SearchManager.OnCancelListener


public static interface SearchManager.OnCancelListener

android.app.SearchManager.OnCancelListener


See SearchManager#setOnCancelListener 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 to register it.