AppInteractionContract
class AppInteractionContract : BaseColumns
The contract between the App Interaction history provider and applications with read permission. Contains definitions for the supported URIs and columns.
Summary
| Inherited constants | |
|---|---|
| Public methods | |
|---|---|
| static MutableList<String!> |
getDeviceAssistancePackageNames(context: Context)Gets the configured list of package names that should be grouped as Device assistance. |
Public methods
getDeviceAssistancePackageNames
static fun getDeviceAssistancePackageNames(context: Context): MutableList<String!>
Gets the configured list of package names that should be grouped as Device assistance.
The return value is only the configured list of package names, so that they might not refer to actual installed system apps and the caller should perform its own validation instead of assuming so.
Requires android.Manifest.permission#EXECUTE_APP_FUNCTIONS or android.Manifest.permission.EXECUTE_APP_FUNCTIONS_SYSTEM or android.Manifest.permission.READ_APP_INTERACTION
| Parameters | |
|---|---|
context |
Context: This value cannot be null. |
