to top
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

? Examples
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.

No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.