InputMethodSubtype.GetDisplayNameFormatted(Context, String, ApplicationInfo) Method

Definition

Returns a display name for this subtype.

[Android.Runtime.Register("getDisplayName", "(Landroid/content/Context;Ljava/lang/String;Landroid/content/pm/ApplicationInfo;)Ljava/lang/CharSequence;", "")]
public Java.Lang.ICharSequence GetDisplayNameFormatted (Android.Content.Context? context, string? packageName, Android.Content.PM.ApplicationInfo? appInfo);
[<Android.Runtime.Register("getDisplayName", "(Landroid/content/Context;Ljava/lang/String;Landroid/content/pm/ApplicationInfo;)Ljava/lang/CharSequence;", "")>]
member this.GetDisplayNameFormatted : Android.Content.Context * string * Android.Content.PM.ApplicationInfo -> Java.Lang.ICharSequence

Parameters

context
Context

Context will be used for getting Locale and android.content.pm.PackageManager.

packageName
String

The package name of the input method.

appInfo
ApplicationInfo

The ApplicationInfo of the input method.

Returns

ICharSequence

a display name for this subtype.

Attributes

Remarks

Java documentation for android.view.inputmethod.InputMethodSubtype.getDisplayName(android.content.Context, java.lang.String, android.content.pm.ApplicationInfo).

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