Język

InputMethodSubtype.InputMethodSubtypeBuilder.SetSubtypeNameResId Method

Definition

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

Parameters

subtypeNameResId
Int32

is the resource ID of the subtype name string. The string resource may have exactly one %s in it. If present, the %s part will be replaced with the locale's display name by the formatter. Please refer to InputMethodSubtype.getDisplayName(Context, String, ApplicationInfo) for details.

Returns

Attributes

Remarks

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

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