Language

IUiTranslationStateCallback.OnStarted メソッド

定義

オーバーロード

名前 説明
OnStarted(ULocale, ULocale)

システムは、UI の sourceLocale から targetLocaleへの変換を要求しています。

OnStarted(ULocale, ULocale, String)

システムは、UI の sourceLocale から targetLocaleへの変換を要求しています。

OnStarted(ULocale, ULocale)

システムは、UI の sourceLocale から targetLocaleへの変換を要求しています。

[Android.Runtime.Register("onStarted", "(Landroid/icu/util/ULocale;Landroid/icu/util/ULocale;)V", "GetOnStarted_Landroid_icu_util_ULocale_Landroid_icu_util_ULocale_Handler:Android.Views.Translation.IUiTranslationStateCallback, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)]
public virtual void OnStarted(Android.Icu.Util.ULocale sourceLocale, Android.Icu.Util.ULocale targetLocale);
[<Android.Runtime.Register("onStarted", "(Landroid/icu/util/ULocale;Landroid/icu/util/ULocale;)V", "GetOnStarted_Landroid_icu_util_ULocale_Landroid_icu_util_ULocale_Handler:Android.Views.Translation.IUiTranslationStateCallback, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)>]
abstract member OnStarted : Android.Icu.Util.ULocale * Android.Icu.Util.ULocale -> unit
override this.OnStarted : Android.Icu.Util.ULocale * Android.Icu.Util.ULocale -> unit

パラメーター

sourceLocale
ULocale

ULocale UI の変換が行われています。

targetLocale
ULocale

ULocale UI の変換が行われています。

属性

注釈

システムは、UI の sourceLocale から targetLocaleへの変換を要求しています。

これは、要求された sourceLocale または targetLocale のいずれかが変更された場合にも呼び出されます。

アプリは、翻訳されるアクティビティを所有するパッケージの名前が必要な場合は、代わりに #onStarted(ULocale, ULocale, String) を実装する必要があります。

minSdkVersion が android.os.Build.VERSION_CODES#TIRAMISU<em>must</em より低いアプリは> "started" イベントを処理する場合にこのメソッドを実装します。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象

OnStarted(ULocale, ULocale, String)

システムは、UI の sourceLocale から targetLocaleへの変換を要求しています。

[Android.Runtime.Register("onStarted", "(Landroid/icu/util/ULocale;Landroid/icu/util/ULocale;Ljava/lang/String;)V", "GetOnStarted_Landroid_icu_util_ULocale_Landroid_icu_util_ULocale_Ljava_lang_String_Handler:Android.Views.Translation.IUiTranslationStateCallback, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=33)]
public virtual void OnStarted(Android.Icu.Util.ULocale sourceLocale, Android.Icu.Util.ULocale targetLocale, string packageName);
[<Android.Runtime.Register("onStarted", "(Landroid/icu/util/ULocale;Landroid/icu/util/ULocale;Ljava/lang/String;)V", "GetOnStarted_Landroid_icu_util_ULocale_Landroid_icu_util_ULocale_Ljava_lang_String_Handler:Android.Views.Translation.IUiTranslationStateCallback, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=33)>]
abstract member OnStarted : Android.Icu.Util.ULocale * Android.Icu.Util.ULocale * string -> unit
override this.OnStarted : Android.Icu.Util.ULocale * Android.Icu.Util.ULocale * string -> unit

パラメーター

sourceLocale
ULocale

ULocale UI の変換が行われています。

targetLocale
ULocale

ULocale UI の変換が行われています。

packageName
String

変換されるアクティビティを所有するパッケージの名前。

属性

注釈

システムは、UI の sourceLocale から targetLocaleへの変換を要求しています。

これは、要求された sourceLocale または targetLocale のいずれかが変更された場合にも呼び出されます。

アプリ <em>may</em> 翻訳中のアクティビティを所有するパッケージの名前が不要な場合は、代わりに #onStarted(ULocale, ULocale) を実装します。

minSdkVersion が android.os.Build.VERSION_CODES#TIRAMISU<em>must</em より低いアプリは> "started" イベントを処理する場合に #onStarted(ULocale, ULocale) を実装します。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象