Share via


ISharedPreferences.UnregisterOnSharedPreferenceChangeListener Method

Definition

Unregisters a previous callback.

[Android.Runtime.Register("unregisterOnSharedPreferenceChangeListener", "(Landroid/content/SharedPreferences$OnSharedPreferenceChangeListener;)V", "GetUnregisterOnSharedPreferenceChangeListener_Landroid_content_SharedPreferences_OnSharedPreferenceChangeListener_Handler:Android.Content.ISharedPreferencesInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UnregisterOnSharedPreferenceChangeListener (Android.Content.ISharedPreferencesOnSharedPreferenceChangeListener? listener);
[<Android.Runtime.Register("unregisterOnSharedPreferenceChangeListener", "(Landroid/content/SharedPreferences$OnSharedPreferenceChangeListener;)V", "GetUnregisterOnSharedPreferenceChangeListener_Landroid_content_SharedPreferences_OnSharedPreferenceChangeListener_Handler:Android.Content.ISharedPreferencesInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UnregisterOnSharedPreferenceChangeListener : Android.Content.ISharedPreferencesOnSharedPreferenceChangeListener -> unit

Parameters

listener
ISharedPreferencesOnSharedPreferenceChangeListener

The callback that should be unregistered.

Attributes

Remarks

Java documentation for android.content.SharedPreferences.unregisterOnSharedPreferenceChangeListener(android.content.OnSharedPreferenceChangeListener).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also