VoiceInteractor.RegisterOnDestroyedCallback(IExecutor, IRunnable) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Registers a callback to be called when the VoiceInteractor is destroyed.
[Android.Runtime.Register("registerOnDestroyedCallback", "(Ljava/util/concurrent/Executor;Ljava/lang/Runnable;)Z", "", ApiSince=29)]
public bool RegisterOnDestroyedCallback (Java.Util.Concurrent.IExecutor executor, Java.Lang.IRunnable callback);
[<Android.Runtime.Register("registerOnDestroyedCallback", "(Ljava/util/concurrent/Executor;Ljava/lang/Runnable;)Z", "", ApiSince=29)>]
member this.RegisterOnDestroyedCallback : Java.Util.Concurrent.IExecutor * Java.Lang.IRunnable -> bool
Parameters
- executor
- IExecutor
Executor on which to run the callback.
- callback
- IRunnable
The callback to run.
Returns
whether the callback was registered.
- Attributes
Remarks
Registers a callback to be called when the VoiceInteractor is destroyed.
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.