Stay organized with collections
Save and categorize content based on your preferences.
PackageInfoFlags
class PackageInfoFlags
Specific flags used for retrieving package info. Example: PackageManager.getPackageInfo(packageName, PackageInfoFlags.of(0)
Summary
Public methods
getValue
fun getValue(): Long
of
static fun of(value: Long): PackageManager.PackageInfoFlags
Parameters |
value |
Long: Value is either 0 or a combination of android.content.pm.PackageManager#GET_ACTIVITIES , android.content.pm.PackageManager#GET_CONFIGURATIONS , android.content.pm.PackageManager#GET_GIDS , android.content.pm.PackageManager#GET_INSTRUMENTATION , android.content.pm.PackageManager#GET_INTENT_FILTERS , android.content.pm.PackageManager#GET_META_DATA , android.content.pm.PackageManager#GET_PERMISSIONS , android.content.pm.PackageManager#GET_PROVIDERS , android.content.pm.PackageManager#GET_RECEIVERS , android.content.pm.PackageManager#GET_SERVICES , android.content.pm.PackageManager#GET_SHARED_LIBRARY_FILES , android.content.pm.PackageManager#GET_SIGNATURES , android.content.pm.PackageManager#GET_SIGNING_CERTIFICATES , android.content.pm.PackageManager#GET_URI_PERMISSION_PATTERNS , android.content.pm.PackageManager#MATCH_UNINSTALLED_PACKAGES , android.content.pm.PackageManager#MATCH_DISABLED_COMPONENTS , android.content.pm.PackageManager#MATCH_DISABLED_UNTIL_USED_COMPONENTS , android.content.pm.PackageManager#MATCH_SYSTEM_ONLY , android.content.pm.PackageManager.MATCH_FACTORY_ONLY, android.content.pm.PackageManager.MATCH_ANY_USER, android.content.pm.PackageManager.MATCH_DEBUG_TRIAGED_MISSING, android.content.pm.PackageManager.MATCH_INSTANT, android.content.pm.PackageManager#MATCH_APEX , android.content.pm.PackageManager#MATCH_ARCHIVED_PACKAGES , android.content.pm.PackageManager#GET_DISABLED_COMPONENTS , android.content.pm.PackageManager#GET_DISABLED_UNTIL_USED_COMPONENTS , android.content.pm.PackageManager#GET_UNINSTALLED_PACKAGES , android.content.pm.PackageManager.MATCH_HIDDEN_UNTIL_INSTALLED_COMPONENTS, android.content.pm.PackageManager#MATCH_DIRECT_BOOT_AWARE , android.content.pm.PackageManager#MATCH_DIRECT_BOOT_UNAWARE , and android.content.pm.PackageManager#GET_ATTRIBUTIONS_LONG |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-06-18 UTC.