Context.UnregisterComponentCallbacks(IComponentCallbacks) Method

Definition

Remove a ComponentCallbacks object that was previously registered with #registerComponentCallbacks(ComponentCallbacks).

[Android.Runtime.Register("unregisterComponentCallbacks", "(Landroid/content/ComponentCallbacks;)V", "GetUnregisterComponentCallbacks_Landroid_content_ComponentCallbacks_Handler")]
public virtual void UnregisterComponentCallbacks (Android.Content.IComponentCallbacks? callback);
[<Android.Runtime.Register("unregisterComponentCallbacks", "(Landroid/content/ComponentCallbacks;)V", "GetUnregisterComponentCallbacks_Landroid_content_ComponentCallbacks_Handler")>]
abstract member UnregisterComponentCallbacks : Android.Content.IComponentCallbacks -> unit
override this.UnregisterComponentCallbacks : Android.Content.IComponentCallbacks -> unit

Parameters

Attributes

Remarks

Remove a ComponentCallbacks object that was previously registered with #registerComponentCallbacks(ComponentCallbacks).

Java documentation for android.content.Context.unregisterComponentCallbacks(android.content.ComponentCallbacks).

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