Språk

InputMethodSubtype.InputMethodSubtypeBuilder.SetSubtypeId(Int32) Method

Definition

[Android.Runtime.Register("setSubtypeId", "(I)Landroid/view/inputmethod/InputMethodSubtype$InputMethodSubtypeBuilder;", "GetSetSubtypeId_IHandler")]
public virtual Android.Views.InputMethods.InputMethodSubtype.InputMethodSubtypeBuilder? SetSubtypeId(int subtypeId);
[<Android.Runtime.Register("setSubtypeId", "(I)Landroid/view/inputmethod/InputMethodSubtype$InputMethodSubtypeBuilder;", "GetSetSubtypeId_IHandler")>]
abstract member SetSubtypeId : int -> Android.Views.InputMethods.InputMethodSubtype.InputMethodSubtypeBuilder
override this.SetSubtypeId : int -> Android.Views.InputMethods.InputMethodSubtype.InputMethodSubtypeBuilder

Parameters

subtypeId
Int32

is the unique ID for this subtype. The input method framework keeps track of enabled subtypes by ID. When the IME package gets upgraded, enabled IDs will stay enabled even if other attributes are different. If the ID is unspecified or 0, Arrays.hashCode(new Object[] {locale, mode, extraValue, isAuxiliary, overridesImplicitlyEnabledSubtype, isAsciiCapable}) will be used instead.

Returns

Attributes

Remarks

Android reference for android.view.inputmethod.InputMethodSubtype.InputMethodSubtypeBuilder.setSubtypeId.

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