Android.Test.Mock.MockPackageManager.GetTextFormatted Method
Retrieve text from a package.

Syntax

[Android.Runtime.Register("getText", "(Ljava/lang/String;ILandroid/content/pm/ApplicationInfo;)Ljava/lang/CharSequence;", "GetGetText_Ljava_lang_String_ILandroid_content_pm_ApplicationInfo_Handler")]
public override Java.Lang.ICharSequence GetTextFormatted (string packageName, int resid, Android.Content.PM.ApplicationInfo appInfo)

Parameters

packageName
The name of the package that this text is coming from. Cannot be null.
resid
The resource identifier of the desired text. Cannot be 0.
appInfo
Overall information about packageName. This may be null, in which case the application information will be retrieved for you if needed; if you already have this information around, it can be much more efficient to supply it here.

Returns

Documentation for this section has not yet been entered.

Remarks

Retrieve text from a package. This is a low-level API used by the various package manager info structures (such as Android.Content.PM.ComponentInfo to implement retrieval of their associated labels and other text.

[Android Documentation]

Requirements

Namespace: Android.Test.Mock
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1