InputMethodSubtype.InputMethodSubtypeBuilder.SetPhysicalKeyboardHint 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.
Sets the physical keyboard hint information, such as language and layout.
[Android.Runtime.Register("setPhysicalKeyboardHint", "(Landroid/icu/util/ULocale;Ljava/lang/String;)Landroid/view/inputmethod/InputMethodSubtype$InputMethodSubtypeBuilder;", "GetSetPhysicalKeyboardHint_Landroid_icu_util_ULocale_Ljava_lang_String_Handler", ApiSince=34)]
public virtual Android.Views.InputMethods.InputMethodSubtype.InputMethodSubtypeBuilder SetPhysicalKeyboardHint(Android.Icu.Util.ULocale? languageTag, string layoutType);
[<Android.Runtime.Register("setPhysicalKeyboardHint", "(Landroid/icu/util/ULocale;Ljava/lang/String;)Landroid/view/inputmethod/InputMethodSubtype$InputMethodSubtypeBuilder;", "GetSetPhysicalKeyboardHint_Landroid_icu_util_ULocale_Ljava_lang_String_Handler", ApiSince=34)>]
abstract member SetPhysicalKeyboardHint : Android.Icu.Util.ULocale * string -> Android.Views.InputMethods.InputMethodSubtype.InputMethodSubtypeBuilder
override this.SetPhysicalKeyboardHint : Android.Icu.Util.ULocale * string -> Android.Views.InputMethods.InputMethodSubtype.InputMethodSubtypeBuilder
Parameters
- languageTag
- ULocale
is the preferred physical keyboard BCP-47 language tag. This is used to match the keyboardLocale attribute in the physical keyboard definition. If it's null, the subtype's language tag will be used.
- layoutType
- String
is the preferred physical keyboard layout, which is used to match the keyboardLayoutType attribute in the physical keyboard definition. See InputManager.ACTION_QUERY_KEYBOARD_LAYOUTS. This value cannot be null.
Returns
- Attributes
Remarks
Sets the physical keyboard hint information, such as language and layout. The system can use the hint information to automatically configure the physical keyboard for the subtype.
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.