AccessibilityNodeInfo.PackageNameFormatted Property

Definition

Gets the package this node comes from. -or- Sets the package this node comes from.

public virtual Java.Lang.ICharSequence? PackageNameFormatted { [Android.Runtime.Register("getPackageName", "()Ljava/lang/CharSequence;", "GetGetPackageNameHandler")] get; [Android.Runtime.Register("setPackageName", "(Ljava/lang/CharSequence;)V", "GetSetPackageName_Ljava_lang_CharSequence_Handler")] set; }
[<get: Android.Runtime.Register("getPackageName", "()Ljava/lang/CharSequence;", "GetGetPackageNameHandler")>]
[<set: Android.Runtime.Register("setPackageName", "(Ljava/lang/CharSequence;)V", "GetSetPackageName_Ljava_lang_CharSequence_Handler")>]
member this.PackageNameFormatted : Java.Lang.ICharSequence with get, set

Property Value

The package name.

Attributes

Exceptions

If called from an AccessibilityService.

Remarks

Property getter documentation:

Gets the package this node comes from.

Java documentation for android.view.accessibility.AccessibilityNodeInfo.getPackageName().

Property setter documentation:

Sets the package this node comes from.

<strong>Note:</strong> Cannot be called from an android.accessibilityservice.AccessibilityService. This class is made immutable before being delivered to an AccessibilityService.

Java documentation for android.view.accessibility.AccessibilityNodeInfo.setPackageName(java.lang.CharSequence).

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