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