Taal

InputMethodInfo.CreateImeLanguageSettingsActivityIntent Method

Definition

Returns Intent for IME language settings activity with Intent#getAction() Intent action#ACTION_IME_LANGUAGE_SETTINGS.

[Android.Runtime.Register("createImeLanguageSettingsActivityIntent", "()Landroid/content/Intent;", "", ApiSince=36)]
public Android.Content.Intent? CreateImeLanguageSettingsActivityIntent();
[<Android.Runtime.Register("createImeLanguageSettingsActivityIntent", "()Landroid/content/Intent;", "", ApiSince=36)>]
member this.CreateImeLanguageSettingsActivityIntent : unit -> Android.Content.Intent

Returns

An intent for the language settings activity or its general settings fallback, or null when both activity names are null or empty.

Attributes

Remarks

Returns Intent for IME language settings activity with Intent#getAction() Intent action#ACTION_IME_LANGUAGE_SETTINGS. If android.R.styleable#InputMethod_languageSettingsActivity is not defined, tries to fall back to the IME general settings activity. If android.R.styleable#InputMethod_settingsActivity is also not defined, returns {code null}.

To launch IME language settings, use this method to get the Intent to launch the IME language settings activity.

e.g.

<code>startActivity(createImeLanguageSettingsActivityIntent());</code>

Java documentation for android.view.inputmethod.InputMethodInfo.createImeLanguageSettingsActivityIntent().

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