Compartilhar via


TranslationManager.RemoveOnDeviceTranslationCapabilityUpdateListener Method

Definition

Removes a TranslationCapability Consumer to listen for updates on states of on-device TranslationCapabilitys.

[Android.Runtime.Register("removeOnDeviceTranslationCapabilityUpdateListener", "(Ljava/util/function/Consumer;)V", "", ApiSince=31)]
public void RemoveOnDeviceTranslationCapabilityUpdateListener (Java.Util.Functions.IConsumer capabilityListener);
[<Android.Runtime.Register("removeOnDeviceTranslationCapabilityUpdateListener", "(Ljava/util/function/Consumer;)V", "", ApiSince=31)>]
member this.RemoveOnDeviceTranslationCapabilityUpdateListener : Java.Util.Functions.IConsumer -> unit

Parameters

capabilityListener
IConsumer

the TranslationCapability Consumer to unregister

Attributes

Remarks

Removes a TranslationCapability Consumer to listen for updates on states of on-device TranslationCapabilitys.

Java documentation for android.view.translation.TranslationManager.removeOnDeviceTranslationCapabilityUpdateListener(java.util.function.Consumer<android.view.translation.TranslationCapability>).

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