Language

InputMethodSubtype.InputMethodSubtypeBuilder.SetSubtypeNameResId Method

Definition

Sets the string resource used for the subtype name.

[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

The resource ID of the subtype name string. The string resource may contain one %s placeholder. The formatter normally replaces it with the locale's display name, but a subtype can provide an untranslatable replacement in its extra value. See GetDisplayName(Context, String, ApplicationInfo) for details.

Returns

This builder after the name resource is stored.

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