TranslationManager.GetOnDeviceTranslationCapabilities(Int32, Int32) Method

Definition

Returns a set of TranslationCapabilitys describing the capabilities for on-device Translators.

[Android.Runtime.Register("getOnDeviceTranslationCapabilities", "(II)Ljava/util/Set;", "", ApiSince=31)]
public System.Collections.Generic.ICollection<Android.Views.Translation.TranslationCapability> GetOnDeviceTranslationCapabilities (int sourceFormat, int targetFormat);
[<Android.Runtime.Register("getOnDeviceTranslationCapabilities", "(II)Ljava/util/Set;", "", ApiSince=31)>]
member this.GetOnDeviceTranslationCapabilities : int * int -> System.Collections.Generic.ICollection<Android.Views.Translation.TranslationCapability>

Parameters

sourceFormat
Int32

data format for the input data to be translated.

targetFormat
Int32

data format for the expected translated output data.

Returns

ICollection<TranslationCapability>

A set of TranslationCapabilitys.

Attributes

Remarks

Java documentation for android.view.translation.TranslationManager.getOnDeviceTranslationCapabilities(int, int).

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