Udostępnij za pośrednictwem


AccessibilityServiceInfo.PackageNames Property

Definition

The package names an AccessibilityService is interested in.

[Android.Runtime.Register("packageNames")]
public System.Collections.Generic.IList<string>? PackageNames { get; set; }
[<Android.Runtime.Register("packageNames")>]
member this.PackageNames : System.Collections.Generic.IList<string> with get, set

Property Value

Attributes

Remarks

The package names an AccessibilityService is interested in. Setting to null is equivalent to all packages.

<strong>Can be dynamically set at runtime.</strong>

Java documentation for android.accessibilityservice.AccessibilityServiceInfo.packageNames.

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