Skip to content

Most visited

Recently visited

navigation
Added in API level 1

PreferenceChangeListener

public interface PreferenceChangeListener
implements EventListener

java.util.prefs.PreferenceChangeListener


This interface is used to handle preferences change events. The implementation of this interface can be installed by the Preferences instance.

See also:

Summary

Public methods

abstract void preferenceChange(PreferenceChangeEvent pce)

This method gets invoked whenever a preference is added, deleted or updated.

Public methods

preferenceChange

Added in API level 1
void preferenceChange (PreferenceChangeEvent pce)

This method gets invoked whenever a preference is added, deleted or updated.

Parameters
pce PreferenceChangeEvent: the event instance which describes the changed Preferences instance and the preference value.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.