AppFunctionSearchSpec
class AppFunctionSearchSpec
Defines the specifications for filtering and searching app function snapshots.
A search will be performed using a logical AND operation across all provided criteria.
Summary
Public constructors |
|---|
AppFunctionSearchSpec(Creates a new instance of |
Public properties |
|
|---|---|
Set<AppFunctionName>? |
The set of |
Int |
The minimum schema version to filter by, or 0 if this filter is skipped. |
Set<String>? |
The set of package names to filter by, or null if this filter is skipped. |
String? |
The schema category to filter by, or null if this filter is skipped. |
String? |
The schema name to filter by, or null if this filter is skipped. |
Public constructors
AppFunctionSearchSpec
AppFunctionSearchSpec(
packageNames: Set<String>? = null,
schemaCategory: String? = null,
schemaName: String? = null,
minSchemaVersion: Int = 0,
functionNames: Set<AppFunctionName>? = null
)
Creates a new instance of AppFunctionSearchSpec.
Public properties
functionNames
val functionNames: Set<AppFunctionName>?
The set of AppFunctionName to filter by, or null if this filter is skipped.
minSchemaVersion
val minSchemaVersion: Int
The minimum schema version to filter by, or 0 if this filter is skipped.
packageNames
val packageNames: Set<String>?
The set of package names to filter by, or null if this filter is skipped.
The calling app can only search metadata for functions in packages that it is allowed to query via android.content.pm.PackageManager.canPackageQuery. If a package is not queryable by the calling app, its functions' metadata will not be visible.
schemaCategory
val schemaCategory: String?
The schema category to filter by, or null if this filter is skipped.
schemaName
val schemaName: String?
The schema name to filter by, or null if this filter is skipped.