Language

InputMethodSubtype.InputMethodSubtypeBuilder.SetSubtypeId(Int32) Method

Definition

Sets the identifier used to track this subtype.

[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

The unique ID to assign to this subtype. The input method framework keeps track of enabled subtypes by ID, so a stable ID can keep a subtype enabled across an IME package upgrade even if its other attributes change. If the ID is unspecified or 0, Android instead calculates a Java array hash from the legacy locale, mode, extra value, auxiliary flag, and implicit-enablement flag. The ASCII-capable flag is also included when it is true.

Returns

This builder after the subtype identifier is stored.

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