Język

MockPackageManager.GetApplicationLabelFormatted(ApplicationInfo) Method

Definition

Return the label to use for this application.

[Android.Runtime.Register("getApplicationLabel", "(Landroid/content/pm/ApplicationInfo;)Ljava/lang/CharSequence;", "GetGetApplicationLabel_Landroid_content_pm_ApplicationInfo_Handler")]
public override Java.Lang.ICharSequence? GetApplicationLabelFormatted(Android.Content.PM.ApplicationInfo? info);
[<Android.Runtime.Register("getApplicationLabel", "(Landroid/content/pm/ApplicationInfo;)Ljava/lang/CharSequence;", "GetGetApplicationLabel_Landroid_content_pm_ApplicationInfo_Handler")>]
override this.GetApplicationLabelFormatted : Android.Content.PM.ApplicationInfo -> Java.Lang.ICharSequence

Parameters

info
ApplicationInfo

The application to get the label of.

Returns

No value is returned. The default mock implementation throws UnsupportedOperationException; override this method to supply a test result.

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.

Applies to