Share via


Activity.UnregisterActivityLifecycleCallbacks Method

Definition

Unregister an Application.ActivityLifecycleCallbacks previously registered with #registerActivityLifecycleCallbacks.

[Android.Runtime.Register("unregisterActivityLifecycleCallbacks", "(Landroid/app/Application$ActivityLifecycleCallbacks;)V", "GetUnregisterActivityLifecycleCallbacks_Landroid_app_Application_ActivityLifecycleCallbacks_Handler", ApiSince=29)]
public virtual void UnregisterActivityLifecycleCallbacks (Android.App.Application.IActivityLifecycleCallbacks callback);
[<Android.Runtime.Register("unregisterActivityLifecycleCallbacks", "(Landroid/app/Application$ActivityLifecycleCallbacks;)V", "GetUnregisterActivityLifecycleCallbacks_Landroid_app_Application_ActivityLifecycleCallbacks_Handler", ApiSince=29)>]
abstract member UnregisterActivityLifecycleCallbacks : Android.App.Application.IActivityLifecycleCallbacks -> unit
override this.UnregisterActivityLifecycleCallbacks : Android.App.Application.IActivityLifecycleCallbacks -> unit

Parameters

callback
Application.IActivityLifecycleCallbacks

The callback instance to unregister

Attributes

Remarks

Java documentation for android.app.Activity.unregisterActivityLifecycleCallbacks(android.app.ActivityLifecycleCallbacks).

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