Android.Content.PM.PackageManager.GetUserBadgedLabelFormatted Method
If the target user is a managed profile of the calling user or the caller is itself a managed profile, then this returns a copy of the label with badging for accessibility services like talkback.

Syntax

[Android.Runtime.Register("getUserBadgedLabel", "(Ljava/lang/CharSequence;Landroid/os/UserHandle;)Ljava/lang/CharSequence;", "GetGetUserBadgedLabel_Ljava_lang_CharSequence_Landroid_os_UserHandle_Handler")]
public abstract Java.Lang.ICharSequence GetUserBadgedLabelFormatted (Java.Lang.ICharSequence label, Android.OS.UserHandle user)

Parameters

label
The label to change.
user
The target user.

Returns

Documentation for this section has not yet been entered.

Remarks

If the target user is a managed profile of the calling user or the caller is itself a managed profile, then this returns a copy of the label with badging for accessibility services like talkback. E.g. passing in "Email" and it might return "Work Email" for Email in the work profile.

[Android Documentation]

Requirements

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