Language

VoiceInteractor.UnregisterOnDestroyedCallback(IRunnable) Method

Definition

Unregisters a previously registered onDestroy callback

[Android.Runtime.Register("unregisterOnDestroyedCallback", "(Ljava/lang/Runnable;)Z", "", ApiSince=29)]
public bool UnregisterOnDestroyedCallback(Java.Lang.IRunnable callback);
[<Android.Runtime.Register("unregisterOnDestroyedCallback", "(Ljava/lang/Runnable;)Z", "", ApiSince=29)>]
member this.UnregisterOnDestroyedCallback : Java.Lang.IRunnable -> bool

Parameters

callback
IRunnable

The callback to remove.

Returns

whether the callback was unregistered.

Attributes

Remarks

Unregisters a previously registered onDestroy callback

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 2026-08-03 UTC.

Android reference for android.app.VoiceInteractor.unregisterOnDestroyedCallback.

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