InputMethodSubtype.InputMethodSubtypeBuilder.SetSubtypeNameResId 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 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
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
This builder after the name resource is stored.
- Attributes
Remarks
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.