Interface: PMOptions


CloudControl Pro 9 Docs / app / PMOptions

Interface: PMOptions

app.PMOptions

The filter options of the installed apps.

See

getInstalledApps

Table of contents

Properties

Properties

get

Optional get: string[]

The information of the app to be returned, for example ["activities", "meta_data"].

Possible values include:

  • "activities" The activity components of the app
  • "configurations" The hardware configuration of the app
  • "gids" The group id of the app
  • "instrumentation" The instrumentation of the app
  • "intent_filters" The intent filters of the app
  • "meta_data" The meta data of the app (default)
  • "permissions" The permissions of the app
  • "providers" The content provider components of the app
  • "receivers" The broadcast receiver components of the app
  • "services" The service components of the app
  • "shared_library_files" The shared library files of the app
  • "signatures" The signatures of the app (deprecated)
  • "signing_certificates" The signing certificates of the app
  • "uri_permission_patterns"
  • "disabled_components" The disabled components of the app
  • "disabled_until_used_components" The disabled until used components of the app
  • "uninstalled_packages" The uninstalled packages of the app

See

PackageManager.GET_*open in new window


match

Optional match: string[]

The list of apps to be matched, for example ["disabled_components", "uninstalled_packages"].

  • "uninstalled_packages" Flag parameter to retrieve some information about all applications (even uninstalled ones) which have data directories. This state could have resulted if applications have been deleted with flag DELETE_KEEP_DATA with a possibility of being replaced or reinstalled in future. Note: this flag may cause less information about currently installed applications to be returned. Note: use of this flag requires the android.permission.QUERY_ALL_PACKAGES permission to see uninstalled packages.
  • "disabled_components" include disabled components in the returned info
  • "disabled_until_used_components" nclude disabled components which are in that state only because of COMPONENT_ENABLED_STATE_DISABLED_UNTIL_USED in the returned info. Note that if you set this flag, applications that are in this disabled state will be reported as enabled
  • "system_only" include only components from applications that are marked with ApplicationInfo#FLAG_SYSTEM.
  • "factory_only" The factory only apps
  • "apex" include APEX packages that are currently installed. In APEX terminology, this corresponds to packages that are currently active, i.e. mounted and available to other processes of the OS. In particular, this flag alone will not match APEX files that are staged for activation at next reboot.

See

PackageManager.MATCH_*open in new window