Class AN_PackageManager
Class for retrieving various kinds of information related to the application packages
that are currently installed on the device.
You can find this class through GetPackageManager().
Inheritance
System.Object
AN_PackageManager
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: cs.temp.dll.dll
Syntax
public class AN_PackageManager
Constructors
AN_PackageManager(AN_Context)
Declaration
public AN_PackageManager(AN_Context context)
Parameters
Fields
CERT_INPUT_RAW_X509
Declaration
public static int CERT_INPUT_RAW_X509
Field Value
| Type |
Description |
| System.Int32 |
|
CERT_INPUT_SHA256
Declaration
public static int CERT_INPUT_SHA256
Field Value
| Type |
Description |
| System.Int32 |
|
COMPONENT_ENABLED_STATE_DEFAULT
Declaration
public static int COMPONENT_ENABLED_STATE_DEFAULT
Field Value
| Type |
Description |
| System.Int32 |
|
COMPONENT_ENABLED_STATE_DISABLED
Declaration
public static int COMPONENT_ENABLED_STATE_DISABLED
Field Value
| Type |
Description |
| System.Int32 |
|
COMPONENT_ENABLED_STATE_DISABLED_UNTIL_USED
Declaration
public static int COMPONENT_ENABLED_STATE_DISABLED_UNTIL_USED
Field Value
| Type |
Description |
| System.Int32 |
|
COMPONENT_ENABLED_STATE_DISABLED_USER
Declaration
public static int COMPONENT_ENABLED_STATE_DISABLED_USER
Field Value
| Type |
Description |
| System.Int32 |
|
COMPONENT_ENABLED_STATE_ENABLED
Declaration
public static int COMPONENT_ENABLED_STATE_ENABLED
Field Value
| Type |
Description |
| System.Int32 |
|
DONT_KILL_APP
Declaration
public static int DONT_KILL_APP
Field Value
| Type |
Description |
| System.Int32 |
|
EXTRA_VERIFICATION_ID
Declaration
public static string EXTRA_VERIFICATION_ID
Field Value
| Type |
Description |
| System.String |
|
EXTRA_VERIFICATION_RESULT
Declaration
public static string EXTRA_VERIFICATION_RESULT
Field Value
| Type |
Description |
| System.String |
|
FEATURE_ACTIVITIES_ON_SECONDARY_DISPLAYS
Declaration
public static string FEATURE_ACTIVITIES_ON_SECONDARY_DISPLAYS
Field Value
| Type |
Description |
| System.String |
|
FEATURE_APP_WIDGETS
Declaration
public static string FEATURE_APP_WIDGETS
Field Value
| Type |
Description |
| System.String |
|
FEATURE_AUDIO_LOW_LATENCY
Declaration
public static string FEATURE_AUDIO_LOW_LATENCY
Field Value
| Type |
Description |
| System.String |
|
FEATURE_AUDIO_OUTPUT
Declaration
public static string FEATURE_AUDIO_OUTPUT
Field Value
| Type |
Description |
| System.String |
|
FEATURE_AUDIO_PRO
Declaration
public static string FEATURE_AUDIO_PRO
Field Value
| Type |
Description |
| System.String |
|
FEATURE_AUTOFILL
Declaration
public static string FEATURE_AUTOFILL
Field Value
| Type |
Description |
| System.String |
|
FEATURE_AUTOMOTIVE
Declaration
public static string FEATURE_AUTOMOTIVE
Field Value
| Type |
Description |
| System.String |
|
FEATURE_BACKUP
Declaration
public static string FEATURE_BACKUP
Field Value
| Type |
Description |
| System.String |
|
FEATURE_BLUETOOTH
Declaration
public static string FEATURE_BLUETOOTH
Field Value
| Type |
Description |
| System.String |
|
FEATURE_BLUETOOTH_LE
Declaration
public static string FEATURE_BLUETOOTH_LE
Field Value
| Type |
Description |
| System.String |
|
FEATURE_CAMERA
Declaration
public static string FEATURE_CAMERA
Field Value
| Type |
Description |
| System.String |
|
FEATURE_CAMERA_ANY
Declaration
public static string FEATURE_CAMERA_ANY
Field Value
| Type |
Description |
| System.String |
|
FEATURE_CAMERA_AR
Declaration
public static string FEATURE_CAMERA_AR
Field Value
| Type |
Description |
| System.String |
|
FEATURE_CAMERA_AUTOFOCUS
Declaration
public static string FEATURE_CAMERA_AUTOFOCUS
Field Value
| Type |
Description |
| System.String |
|
FEATURE_CAMERA_CAPABILITY_MANUAL_POST_PROCESSING
Declaration
public static string FEATURE_CAMERA_CAPABILITY_MANUAL_POST_PROCESSING
Field Value
| Type |
Description |
| System.String |
|
FEATURE_CAMERA_CAPABILITY_MANUAL_SENSOR
Declaration
public static string FEATURE_CAMERA_CAPABILITY_MANUAL_SENSOR
Field Value
| Type |
Description |
| System.String |
|
FEATURE_CAMERA_CAPABILITY_RAW
Declaration
public static string FEATURE_CAMERA_CAPABILITY_RAW
Field Value
| Type |
Description |
| System.String |
|
FEATURE_CAMERA_EXTERNAL
Declaration
public static string FEATURE_CAMERA_EXTERNAL
Field Value
| Type |
Description |
| System.String |
|
FEATURE_CAMERA_FLASH
Declaration
public static string FEATURE_CAMERA_FLASH
Field Value
| Type |
Description |
| System.String |
|
FEATURE_CAMERA_FRONT
Declaration
public static string FEATURE_CAMERA_FRONT
Field Value
| Type |
Description |
| System.String |
|
FEATURE_CAMERA_LEVEL_FULL
Declaration
public static string FEATURE_CAMERA_LEVEL_FULL
Field Value
| Type |
Description |
| System.String |
|
FEATURE_CANT_SAVE_STATE
Declaration
public static string FEATURE_CANT_SAVE_STATE
Field Value
| Type |
Description |
| System.String |
|
FEATURE_COMPANION_DEVICE_SETUP
Declaration
public static string FEATURE_COMPANION_DEVICE_SETUP
Field Value
| Type |
Description |
| System.String |
|
FEATURE_CONNECTION_SERVICE
Declaration
public static string FEATURE_CONNECTION_SERVICE
Field Value
| Type |
Description |
| System.String |
|
FEATURE_CONSUMER_IR
Declaration
public static string FEATURE_CONSUMER_IR
Field Value
| Type |
Description |
| System.String |
|
FEATURE_DEVICE_ADMIN
Declaration
public static string FEATURE_DEVICE_ADMIN
Field Value
| Type |
Description |
| System.String |
|
FEATURE_EMBEDDED
Declaration
public static string FEATURE_EMBEDDED
Field Value
| Type |
Description |
| System.String |
|
FEATURE_ETHERNET
Declaration
public static string FEATURE_ETHERNET
Field Value
| Type |
Description |
| System.String |
|
FEATURE_FAKETOUCH
Declaration
public static string FEATURE_FAKETOUCH
Field Value
| Type |
Description |
| System.String |
|
FEATURE_FAKETOUCH_MULTITOUCH_DISTINCT
Declaration
public static string FEATURE_FAKETOUCH_MULTITOUCH_DISTINCT
Field Value
| Type |
Description |
| System.String |
|
FEATURE_FAKETOUCH_MULTITOUCH_JAZZHAND
Declaration
public static string FEATURE_FAKETOUCH_MULTITOUCH_JAZZHAND
Field Value
| Type |
Description |
| System.String |
|
FEATURE_FINGERPRINT
Declaration
public static string FEATURE_FINGERPRINT
Field Value
| Type |
Description |
| System.String |
|
FEATURE_FREEFORM_WINDOW_MANAGEMENT
Declaration
public static string FEATURE_FREEFORM_WINDOW_MANAGEMENT
Field Value
| Type |
Description |
| System.String |
|
FEATURE_GAMEPAD
Declaration
public static string FEATURE_GAMEPAD
Field Value
| Type |
Description |
| System.String |
|
FEATURE_HIFI_SENSORS
Declaration
public static string FEATURE_HIFI_SENSORS
Field Value
| Type |
Description |
| System.String |
|
FEATURE_HOME_SCREEN
Declaration
public static string FEATURE_HOME_SCREEN
Field Value
| Type |
Description |
| System.String |
|
FEATURE_INPUT_METHODS
Declaration
public static string FEATURE_INPUT_METHODS
Field Value
| Type |
Description |
| System.String |
|
FEATURE_LEANBACK
Declaration
public static string FEATURE_LEANBACK
Field Value
| Type |
Description |
| System.String |
|
FEATURE_LEANBACK_ONLY
Declaration
public static string FEATURE_LEANBACK_ONLY
Field Value
| Type |
Description |
| System.String |
|
FEATURE_LIVE_TV
Declaration
public static string FEATURE_LIVE_TV
Field Value
| Type |
Description |
| System.String |
|
FEATURE_LIVE_WALLPAPER
Declaration
public static string FEATURE_LIVE_WALLPAPER
Field Value
| Type |
Description |
| System.String |
|
FEATURE_LOCATION
Declaration
public static string FEATURE_LOCATION
Field Value
| Type |
Description |
| System.String |
|
FEATURE_LOCATION_GPS
Declaration
public static string FEATURE_LOCATION_GPS
Field Value
| Type |
Description |
| System.String |
|
FEATURE_LOCATION_NETWORK
Declaration
public static string FEATURE_LOCATION_NETWORK
Field Value
| Type |
Description |
| System.String |
|
FEATURE_MANAGED_USERS
Declaration
public static string FEATURE_MANAGED_USERS
Field Value
| Type |
Description |
| System.String |
|
FEATURE_MICROPHONE
Declaration
public static string FEATURE_MICROPHONE
Field Value
| Type |
Description |
| System.String |
|
FEATURE_MIDI
Declaration
public static string FEATURE_MIDI
Field Value
| Type |
Description |
| System.String |
|
FEATURE_NFC
Declaration
public static string FEATURE_NFC
Field Value
| Type |
Description |
| System.String |
|
FEATURE_NFC_HOST_CARD_EMULATION
Declaration
public static string FEATURE_NFC_HOST_CARD_EMULATION
Field Value
| Type |
Description |
| System.String |
|
FEATURE_NFC_HOST_CARD_EMULATION_NFCF
Declaration
public static string FEATURE_NFC_HOST_CARD_EMULATION_NFCF
Field Value
| Type |
Description |
| System.String |
|
FEATURE_OPENGLES_EXTENSION_PACK
Declaration
public static string FEATURE_OPENGLES_EXTENSION_PACK
Field Value
| Type |
Description |
| System.String |
|
FEATURE_PC
Declaration
public static string FEATURE_PC
Field Value
| Type |
Description |
| System.String |
|
FEATURE_PICTURE_IN_PICTURE
Declaration
public static string FEATURE_PICTURE_IN_PICTURE
Field Value
| Type |
Description |
| System.String |
|
FEATURE_PRINTING
Declaration
public static string FEATURE_PRINTING
Field Value
| Type |
Description |
| System.String |
|
FEATURE_RAM_LOW
Declaration
public static string FEATURE_RAM_LOW
Field Value
| Type |
Description |
| System.String |
|
FEATURE_RAM_NORMAL
Declaration
public static string FEATURE_RAM_NORMAL
Field Value
| Type |
Description |
| System.String |
|
FEATURE_SCREEN_LANDSCAPE
Declaration
public static string FEATURE_SCREEN_LANDSCAPE
Field Value
| Type |
Description |
| System.String |
|
FEATURE_SCREEN_PORTRAIT
Declaration
public static string FEATURE_SCREEN_PORTRAIT
Field Value
| Type |
Description |
| System.String |
|
FEATURE_SECURELY_REMOVES_USERS
Declaration
public static string FEATURE_SECURELY_REMOVES_USERS
Field Value
| Type |
Description |
| System.String |
|
FEATURE_SENSOR_ACCELEROMETER
Declaration
public static string FEATURE_SENSOR_ACCELEROMETER
Field Value
| Type |
Description |
| System.String |
|
FEATURE_SENSOR_AMBIENT_TEMPERATURE
Declaration
public static string FEATURE_SENSOR_AMBIENT_TEMPERATURE
Field Value
| Type |
Description |
| System.String |
|
FEATURE_SENSOR_BAROMETER
Declaration
public static string FEATURE_SENSOR_BAROMETER
Field Value
| Type |
Description |
| System.String |
|
FEATURE_SENSOR_COMPASS
Declaration
public static string FEATURE_SENSOR_COMPASS
Field Value
| Type |
Description |
| System.String |
|
FEATURE_SENSOR_GYROSCOPE
Declaration
public static string FEATURE_SENSOR_GYROSCOPE
Field Value
| Type |
Description |
| System.String |
|
FEATURE_SENSOR_HEART_RATE
Declaration
public static string FEATURE_SENSOR_HEART_RATE
Field Value
| Type |
Description |
| System.String |
|
FEATURE_SENSOR_HEART_RATE_ECG
Declaration
public static string FEATURE_SENSOR_HEART_RATE_ECG
Field Value
| Type |
Description |
| System.String |
|
FEATURE_SENSOR_LIGHT
Declaration
public static string FEATURE_SENSOR_LIGHT
Field Value
| Type |
Description |
| System.String |
|
FEATURE_SENSOR_PROXIMITY
Declaration
public static string FEATURE_SENSOR_PROXIMITY
Field Value
| Type |
Description |
| System.String |
|
FEATURE_SENSOR_RELATIVE_HUMIDITY
Declaration
public static string FEATURE_SENSOR_RELATIVE_HUMIDITY
Field Value
| Type |
Description |
| System.String |
|
FEATURE_SENSOR_STEP_COUNTER
Declaration
public static string FEATURE_SENSOR_STEP_COUNTER
Field Value
| Type |
Description |
| System.String |
|
FEATURE_SENSOR_STEP_DETECTOR
Declaration
public static string FEATURE_SENSOR_STEP_DETECTOR
Field Value
| Type |
Description |
| System.String |
|
FEATURE_SIP
Declaration
public static string FEATURE_SIP
Field Value
| Type |
Description |
| System.String |
|
FEATURE_SIP_VOIP
Declaration
public static string FEATURE_SIP_VOIP
Field Value
| Type |
Description |
| System.String |
|
FEATURE_STRONGBOX_KEYSTORE
Declaration
public static string FEATURE_STRONGBOX_KEYSTORE
Field Value
| Type |
Description |
| System.String |
|
FEATURE_TELEPHONY
Declaration
public static string FEATURE_TELEPHONY
Field Value
| Type |
Description |
| System.String |
|
FEATURE_TELEPHONY_CDMA
Declaration
public static string FEATURE_TELEPHONY_CDMA
Field Value
| Type |
Description |
| System.String |
|
FEATURE_TELEPHONY_EUICC
Declaration
public static string FEATURE_TELEPHONY_EUICC
Field Value
| Type |
Description |
| System.String |
|
FEATURE_TELEPHONY_GSM
Declaration
public static string FEATURE_TELEPHONY_GSM
Field Value
| Type |
Description |
| System.String |
|
FEATURE_TELEPHONY_MBMS
Declaration
public static string FEATURE_TELEPHONY_MBMS
Field Value
| Type |
Description |
| System.String |
|
FEATURE_TOUCHSCREEN
Declaration
public static string FEATURE_TOUCHSCREEN
Field Value
| Type |
Description |
| System.String |
|
FEATURE_TOUCHSCREEN_MULTITOUCH
Declaration
public static string FEATURE_TOUCHSCREEN_MULTITOUCH
Field Value
| Type |
Description |
| System.String |
|
FEATURE_TOUCHSCREEN_MULTITOUCH_DISTINCT
Declaration
public static string FEATURE_TOUCHSCREEN_MULTITOUCH_DISTINCT
Field Value
| Type |
Description |
| System.String |
|
FEATURE_TOUCHSCREEN_MULTITOUCH_JAZZHAND
Declaration
public static string FEATURE_TOUCHSCREEN_MULTITOUCH_JAZZHAND
Field Value
| Type |
Description |
| System.String |
|
FEATURE_USB_ACCESSORY
Declaration
public static string FEATURE_USB_ACCESSORY
Field Value
| Type |
Description |
| System.String |
|
FEATURE_USB_HOST
Declaration
public static string FEATURE_USB_HOST
Field Value
| Type |
Description |
| System.String |
|
FEATURE_VERIFIED_BOOT
Declaration
public static string FEATURE_VERIFIED_BOOT
Field Value
| Type |
Description |
| System.String |
|
FEATURE_VR_HEADTRACKING
Declaration
public static string FEATURE_VR_HEADTRACKING
Field Value
| Type |
Description |
| System.String |
|
FEATURE_VR_MODE_HIGH_PERFORMANCE
Declaration
public static string FEATURE_VR_MODE_HIGH_PERFORMANCE
Field Value
| Type |
Description |
| System.String |
|
FEATURE_VULKAN_HARDWARE_COMPUTE
Declaration
public static string FEATURE_VULKAN_HARDWARE_COMPUTE
Field Value
| Type |
Description |
| System.String |
|
FEATURE_VULKAN_HARDWARE_LEVEL
Declaration
public static string FEATURE_VULKAN_HARDWARE_LEVEL
Field Value
| Type |
Description |
| System.String |
|
FEATURE_VULKAN_HARDWARE_VERSION
Declaration
public static string FEATURE_VULKAN_HARDWARE_VERSION
Field Value
| Type |
Description |
| System.String |
|
FEATURE_WATCH
Declaration
public static string FEATURE_WATCH
Field Value
| Type |
Description |
| System.String |
|
FEATURE_WEBVIEW
Declaration
public static string FEATURE_WEBVIEW
Field Value
| Type |
Description |
| System.String |
|
FEATURE_WIFI
Declaration
public static string FEATURE_WIFI
Field Value
| Type |
Description |
| System.String |
|
FEATURE_WIFI_AWARE
Declaration
public static string FEATURE_WIFI_AWARE
Field Value
| Type |
Description |
| System.String |
|
FEATURE_WIFI_DIRECT
Declaration
public static string FEATURE_WIFI_DIRECT
Field Value
| Type |
Description |
| System.String |
|
FEATURE_WIFI_PASSPOINT
Declaration
public static string FEATURE_WIFI_PASSPOINT
Field Value
| Type |
Description |
| System.String |
|
FEATURE_WIFI_RTT
Declaration
public static string FEATURE_WIFI_RTT
Field Value
| Type |
Description |
| System.String |
|
GET_ACTIVITIES
Declaration
public static int GET_ACTIVITIES
Field Value
| Type |
Description |
| System.Int32 |
|
GET_CONFIGURATIONS
Declaration
public static int GET_CONFIGURATIONS
Field Value
| Type |
Description |
| System.Int32 |
|
GET_GIDS
Declaration
public static int GET_GIDS
Field Value
| Type |
Description |
| System.Int32 |
|
GET_INSTRUMENTATION
Declaration
public static int GET_INSTRUMENTATION
Field Value
| Type |
Description |
| System.Int32 |
|
GET_INTENT_FILTERS
Declaration
public static int GET_INTENT_FILTERS
Field Value
| Type |
Description |
| System.Int32 |
|
GET_META_DATA
Declaration
public static int GET_META_DATA
Field Value
| Type |
Description |
| System.Int32 |
|
GET_PERMISSIONS
Declaration
public static int GET_PERMISSIONS
Field Value
| Type |
Description |
| System.Int32 |
|
GET_PROVIDERS
Declaration
public static int GET_PROVIDERS
Field Value
| Type |
Description |
| System.Int32 |
|
GET_RECEIVERS
Declaration
public static int GET_RECEIVERS
Field Value
| Type |
Description |
| System.Int32 |
|
GET_RESOLVED_FILTER
Declaration
public static int GET_RESOLVED_FILTER
Field Value
| Type |
Description |
| System.Int32 |
|
GET_SERVICES
Declaration
public static int GET_SERVICES
Field Value
| Type |
Description |
| System.Int32 |
|
GET_SHARED_LIBRARY_FILES
Declaration
public static int GET_SHARED_LIBRARY_FILES
Field Value
| Type |
Description |
| System.Int32 |
|
GET_SIGNING_CERTIFICATES
Declaration
public static int GET_SIGNING_CERTIFICATES
Field Value
| Type |
Description |
| System.Int32 |
|
GET_URI_PERMISSION_PATTERNS
Declaration
public static int GET_URI_PERMISSION_PATTERNS
Field Value
| Type |
Description |
| System.Int32 |
|
INSTALL_REASON_DEVICE_RESTORE
Declaration
public static int INSTALL_REASON_DEVICE_RESTORE
Field Value
| Type |
Description |
| System.Int32 |
|
INSTALL_REASON_DEVICE_SETUP
Declaration
public static int INSTALL_REASON_DEVICE_SETUP
Field Value
| Type |
Description |
| System.Int32 |
|
INSTALL_REASON_POLICY
Declaration
public static int INSTALL_REASON_POLICY
Field Value
| Type |
Description |
| System.Int32 |
|
INSTALL_REASON_UNKNOWN
Declaration
public static int INSTALL_REASON_UNKNOWN
Field Value
| Type |
Description |
| System.Int32 |
|
INSTALL_REASON_USER
Declaration
public static int INSTALL_REASON_USER
Field Value
| Type |
Description |
| System.Int32 |
|
MATCH_ALL
Declaration
public static int MATCH_ALL
Field Value
| Type |
Description |
| System.Int32 |
|
MATCH_DEFAULT_ONLY
Declaration
public static int MATCH_DEFAULT_ONLY
Field Value
| Type |
Description |
| System.Int32 |
|
MATCH_DIRECT_BOOT_AWARE
Declaration
public static int MATCH_DIRECT_BOOT_AWARE
Field Value
| Type |
Description |
| System.Int32 |
|
MATCH_DIRECT_BOOT_UNAWARE
Declaration
public static int MATCH_DIRECT_BOOT_UNAWARE
Field Value
| Type |
Description |
| System.Int32 |
|
MATCH_DISABLED_COMPONENTS
Declaration
public static int MATCH_DISABLED_COMPONENTS
Field Value
| Type |
Description |
| System.Int32 |
|
MATCH_DISABLED_UNTIL_USED_COMPONENTS
Declaration
public static int MATCH_DISABLED_UNTIL_USED_COMPONENTS
Field Value
| Type |
Description |
| System.Int32 |
|
MATCH_SYSTEM_ONLY
Declaration
public static int MATCH_SYSTEM_ONLY
Field Value
| Type |
Description |
| System.Int32 |
|
MATCH_UNINSTALLED_PACKAGES
Declaration
public static int MATCH_UNINSTALLED_PACKAGES
Field Value
| Type |
Description |
| System.Int32 |
|
MAXIMUM_VERIFICATION_TIMEOUT
Declaration
public static long MAXIMUM_VERIFICATION_TIMEOUT
Field Value
| Type |
Description |
| System.Int64 |
|
PERMISSION_DENIED
Declaration
public static int PERMISSION_DENIED
Field Value
| Type |
Description |
| System.Int32 |
|
PERMISSION_GRANTED
Declaration
public static int PERMISSION_GRANTED
Field Value
| Type |
Description |
| System.Int32 |
|
SIGNATURE_FIRST_NOT_SIGNED
Declaration
public static int SIGNATURE_FIRST_NOT_SIGNED
Field Value
| Type |
Description |
| System.Int32 |
|
SIGNATURE_MATCH
Declaration
public static int SIGNATURE_MATCH
Field Value
| Type |
Description |
| System.Int32 |
|
SIGNATURE_NEITHER_SIGNED
Declaration
public static int SIGNATURE_NEITHER_SIGNED
Field Value
| Type |
Description |
| System.Int32 |
|
SIGNATURE_NO_MATCH
Declaration
public static int SIGNATURE_NO_MATCH
Field Value
| Type |
Description |
| System.Int32 |
|
SIGNATURE_SECOND_NOT_SIGNED
Declaration
public static int SIGNATURE_SECOND_NOT_SIGNED
Field Value
| Type |
Description |
| System.Int32 |
|
SIGNATURE_UNKNOWN_PACKAGE
Declaration
public static int SIGNATURE_UNKNOWN_PACKAGE
Field Value
| Type |
Description |
| System.Int32 |
|
VERIFICATION_ALLOW
Declaration
public static int VERIFICATION_ALLOW
Field Value
| Type |
Description |
| System.Int32 |
|
VERIFICATION_REJECT
Declaration
public static int VERIFICATION_REJECT
Field Value
| Type |
Description |
| System.Int32 |
|
VERSION_CODE_HIGHEST
Declaration
public static int VERSION_CODE_HIGHEST
Field Value
| Type |
Description |
| System.Int32 |
|
Methods
GetLaunchIntentForPackage(String)
Returns a "good" intent to launch a front-door activity in a package.
This is used, for example, to implement an "open" button when browsing through packages.
The current implementation looks first for a main activity in the category CATEGORY_INFO,
and next for a main activity in the category CATEGORY_LAUNCHER
Returns null if neither are found.
Declaration
public AN_Intent GetLaunchIntentForPackage(string packageName)
Parameters
| Type |
Name |
Description |
| System.String |
packageName |
|
Returns
GetPackageInfo(String, Int32)
Retrieve overall information about an application package that is installed on the system.
Declaration
public AN_PackageInfo GetPackageInfo(string packageName, int flags)
Parameters
| Type |
Name |
Description |
| System.String |
packageName |
|
| System.Int32 |
flags |
|
Returns
| Type |
Description |
| AN_PackageInfo |
Returns a List of ResolveInfo objects containing one entry for each matching activity, ordered from best to worst.
In other words, the first item is what would be returned by resolveActivity(Intent, int).
If there are no matching activities, an empty list is returned.
|
QueryIntentActivities(AN_Intent, Int32)
Retrieve all activities that can be performed for the given intent.
Declaration
public List<AN_ResolveInfo> QueryIntentActivities(AN_Intent intent, int flags = 0)
Parameters
| Type |
Name |
Description |
| AN_Intent |
intent |
The desired intent as per resolveActivity().
|
| System.Int32 |
flags |
Additional option flags to modify the data returned.
The most important is MATCH_DEFAULT_ONLY, to limit the resolution to only those activities that support the AN_Intent.CATEGORY_DEFAULT.
Or, set MATCH_ALL to prevent any filtering of the results.
Value is either 0 or combination of GET_META_DATA, GET_SIGNATURES, GET_SHARED_LIBRARY_FILES, MATCH_ALL,
MATCH_DISABLED_COMPONENTS, MATCH_DISABLED_UNTIL_USED_COMPONENTS,
MATCH_DEFAULT_ONLY, MATCH_DIRECT_BOOT_AWARE, MATCH_DIRECT_BOOT_UNAWARE,
MATCH_SYSTEM_ONLY or MATCH_UNINSTALLED_PACKAGES.
|
Returns
ResolveContentProvider()
Find a single content provider by its base path name.
Declaration
public AN_ProviderInfo ResolveContentProvider()
Returns