Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
Added in API level 1
public static interface

SearchManager.OnCancelListener

android.app.SearchManager.OnCancelListener

Class Overview

See 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

public abstract void onCancel ()

Added in API level 1

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