SpellCheckerSubtype.GetDisplayName(Context, String, ApplicationInfo) 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.
public string? GetDisplayName (Android.Content.Context? context, string? packageName, Android.Content.PM.ApplicationInfo? appInfo);
member this.GetDisplayName : Android.Content.Context * string * Android.Content.PM.ApplicationInfo -> string
Parameters
- context
- Context
Context will be used for getting Locale and PackageManager.
- packageName
- String
The package name of the spell checker
- appInfo
- ApplicationInfo
The application info of the spell checker
Returns
a display name for this subtype. The string resource of the label (mSubtypeNameResId) can have only one %s in it. If there is, the %s part will be replaced with the locale's display name by the formatter. If there is not, this method simply returns the string specified by mSubtypeNameResId. If mSubtypeNameResId is not specified (== 0), it's up to the framework to generate an appropriate display name.
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.