DevicePolicyManager.GetPermittedAccessibilityServices(ComponentName) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.