public static interface SearchManager.OnDismissListener

android.app.SearchManager.OnDismissListener



See SearchManager.setOnDismissListener for configuring your activity to monitor search UI state.

Summary

Public methods

abstract void onDismiss()

This method will be called when the search UI is dismissed.

Public methods

onDismiss

public abstract void onDismiss ()

This method will be called when the search UI is dismissed. To make use of it, you must implement this method in your activity, and call SearchManager.setOnDismissListener to register it.

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2025-02-10 UTC.