AccessibilityHelper

Utility for querying whether an accessibility service is currently enabled.

Functions

Link copied to clipboard
fun isServiceEnabled(context: Context, serviceClass: Class<*>): Boolean

Returns true when serviceClass belonging to this app is present in the system's list of enabled accessibility services.