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
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
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.