Udostępnij za pośrednictwem


DevicePolicyManager.GetPermittedAccessibilityServices(ComponentName) Method

Definition

Returns the list of permitted accessibility services set by this device or profile owner.

[Android.Runtime.Register("getPermittedAccessibilityServices", "(Landroid/content/ComponentName;)Ljava/util/List;", "GetGetPermittedAccessibilityServices_Landroid_content_ComponentName_Handler")]
public virtual System.Collections.Generic.IList<string>? GetPermittedAccessibilityServices (Android.Content.ComponentName admin);
[<Android.Runtime.Register("getPermittedAccessibilityServices", "(Landroid/content/ComponentName;)Ljava/util/List;", "GetGetPermittedAccessibilityServices_Landroid_content_ComponentName_Handler")>]
abstract member GetPermittedAccessibilityServices : Android.Content.ComponentName -> System.Collections.Generic.IList<string>
override this.GetPermittedAccessibilityServices : Android.Content.ComponentName -> System.Collections.Generic.IList<string>

Parameters

admin
ComponentName

Which DeviceAdminReceiver this request is associated with.

Returns

List of accessiblity service package names.

Attributes

Remarks

Returns the list of permitted accessibility services set by this device or profile owner.

An empty list means no accessibility services except system services are allowed. null means all accessibility services are allowed.

Java documentation for android.app.admin.DevicePolicyManager.getPermittedAccessibilityServices(android.content.ComponentName).

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