MockPackageManager Class

Definition

A mock android.content.pm.PackageManager class.

[Android.Runtime.Register("android/test/mock/MockPackageManager", DoNotGenerateAcw=true)]
public class MockPackageManager : Android.Content.PM.PackageManager
[<Android.Runtime.Register("android/test/mock/MockPackageManager", DoNotGenerateAcw=true)>]
type MockPackageManager = class
    inherit PackageManager
Inheritance
MockPackageManager
Attributes

Remarks

A mock android.content.pm.PackageManager class. All methods are non-functional and throw java.lang.UnsupportedOperationException. Override it to provide the operations that you need.

This member is deprecated. Use a mocking framework like Mockito. New tests should be written using the Android Testing Support Library.

Java documentation for android.test.mock.MockPackageManager.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Constructors

MockPackageManager()
MockPackageManager(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

Fields

CertInputRawX509
Obsolete.

Certificate input bytes: the input bytes represent an encoded X.

(Inherited from PackageManager)
CertInputSha256
Obsolete.

Certificate input bytes: the input bytes represent the SHA256 output of an encoded X.

(Inherited from PackageManager)
DontKillApp
Obsolete.

Flag parameter for #setComponentEnabledSetting(android.content.ComponentName, int, int) to indicate that you don't want to kill the app containing the component.

(Inherited from PackageManager)
ExtraVerificationId

Extra field name for the ID of a package pending verification.

(Inherited from PackageManager)
ExtraVerificationResult

Extra field name for the result of a verification, either #VERIFICATION_ALLOW, or #VERIFICATION_REJECT.

(Inherited from PackageManager)
FeatureActivitiesOnSecondaryDisplays

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports running activities on secondary displays.

(Inherited from PackageManager)
FeatureAppWidgets

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports app widgets.

(Inherited from PackageManager)
FeatureAudioLowLatency

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device's audio pipeline is low-latency, more suitable for audio applications sensitive to delays or lag in sound input or output.

(Inherited from PackageManager)
FeatureAudioOutput

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device includes at least one form of audio output, as defined in the Android Compatibility Definition Document (CDD) section 7.8 Audio.

(Inherited from PackageManager)
FeatureAudioPro

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device has professional audio level of functionality and performance.

(Inherited from PackageManager)
FeatureAutofill

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports autofill of user credentials, addresses, credit cards, etc via integration with android.service.autofill.AutofillService autofill providers.

(Inherited from PackageManager)
FeatureAutomotive

Feature for #getSystemAvailableFeatures and #hasSystemFeature: This is a device dedicated to showing UI on a vehicle headunit.

(Inherited from PackageManager)
FeatureBackup

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device can perform backup and restore operations on installed applications.

(Inherited from PackageManager)
FeatureBluetooth

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device is capable of communicating with other devices via Bluetooth.

(Inherited from PackageManager)
FeatureBluetoothLe

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device is capable of communicating with other devices via Bluetooth Low Energy radio.

(Inherited from PackageManager)
FeatureCamera

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device has a camera facing away from the screen.

(Inherited from PackageManager)
FeatureCameraAny

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device has at least one camera pointing in some direction, or can support an external camera being connected to it.

(Inherited from PackageManager)
FeatureCameraAr

Feature for #getSystemAvailableFeatures and #hasSystemFeature: At least one of the cameras on the device supports the android.hardware.camera2.CameraMetadata#REQUEST_AVAILABLE_CAPABILITIES_MOTION_TRACKING MOTION_TRACKING capability level.

(Inherited from PackageManager)
FeatureCameraAutofocus

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device's camera supports auto-focus.

(Inherited from PackageManager)
FeatureCameraCapabilityManualPostProcessing

Feature for #getSystemAvailableFeatures and #hasSystemFeature: At least one of the cameras on the device supports the android.hardware.camera2.CameraMetadata#REQUEST_AVAILABLE_CAPABILITIES_MANUAL_POST_PROCESSING manual post-processing capability level.

(Inherited from PackageManager)
FeatureCameraCapabilityManualSensor

Feature for #getSystemAvailableFeatures and #hasSystemFeature: At least one of the cameras on the device supports the android.hardware.camera2.CameraMetadata#REQUEST_AVAILABLE_CAPABILITIES_MANUAL_SENSOR manual sensor capability level.

(Inherited from PackageManager)
FeatureCameraCapabilityRaw

Feature for #getSystemAvailableFeatures and #hasSystemFeature: At least one of the cameras on the device supports the android.hardware.camera2.CameraMetadata#REQUEST_AVAILABLE_CAPABILITIES_RAW RAW capability level.

(Inherited from PackageManager)
FeatureCameraConcurrent

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device's main front and back cameras can stream concurrently as described in android.hardware.camera2.CameraManager#getConcurrentCameraIds().

(Inherited from PackageManager)
FeatureCameraExternal

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device can support having an external camera connected to it.

(Inherited from PackageManager)
FeatureCameraFlash

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device's camera supports flash.

(Inherited from PackageManager)
FeatureCameraFront

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device has a front facing camera.

(Inherited from PackageManager)
FeatureCameraLevelFull

Feature for #getSystemAvailableFeatures and #hasSystemFeature: At least one of the cameras on the device supports the android.hardware.camera2.CameraCharacteristics#INFO_SUPPORTED_HARDWARE_LEVEL full hardware capability level.

(Inherited from PackageManager)
FeatureCantSaveState

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports the android.R.attr#cantSaveState API.

(Inherited from PackageManager)
FeatureCompanionDeviceSetup

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports android.companion.CompanionDeviceManager#associate associating with devices via android.companion.CompanionDeviceManager.

(Inherited from PackageManager)
FeatureConnectionService

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The Connection Service API is enabled on the device.

(Inherited from PackageManager)
FeatureConsumerIr

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device is capable of communicating with consumer IR devices.

(Inherited from PackageManager)
FeatureControls

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports a system interface for the user to select and bind device control services provided by applications.

(Inherited from PackageManager)
FeatureCredentials

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports retrieval of user credentials, via integration with credential providers.

(Inherited from PackageManager)
FeatureDeviceAdmin

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports device policy enforcement via device admins.

(Inherited from PackageManager)
FeatureDeviceLock

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports locking (for example, by a financing provider in case of a missed payment).

(Inherited from PackageManager)
FeatureEmbedded

Feature for #getSystemAvailableFeatures and #hasSystemFeature: This is a device for IoT and may not have an UI.

(Inherited from PackageManager)
FeatureEthernet

Feature for #getSystemAvailableFeatures and #hasSystemFeature: This device supports ethernet.

(Inherited from PackageManager)
FeatureExpandedPictureInPicture

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports expanded picture-in-picture multi-window mode.

(Inherited from PackageManager)
FeatureFace

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device has biometric hardware to perform face authentication.

(Inherited from PackageManager)
FeatureFaketouch

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device does not have a touch screen, but does support touch emulation for basic events.

(Inherited from PackageManager)
FeatureFaketouchMultitouchDistinct

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device does not have a touch screen, but does support touch emulation for basic events that supports distinct tracking of two or more fingers.

(Inherited from PackageManager)
FeatureFaketouchMultitouchJazzhand

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device does not have a touch screen, but does support touch emulation for basic events that supports tracking a hand of fingers (5 or more fingers) fully independently.

(Inherited from PackageManager)
FeatureFingerprint

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device has biometric hardware to detect a fingerprint.

(Inherited from PackageManager)
FeatureFreeformWindowManagement

As a guiding principle:

(Inherited from PackageManager)
FeatureGamepad

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device has all of the inputs necessary to be considered a compatible game controller, or includes a compatible game controller in the box.

(Inherited from PackageManager)
FeatureHardwareKeystore

Feature for #getSystemAvailableFeatures and #hasSystemFeature(String, int): If this feature is supported, the device implements the Android Keystore backed by an isolated execution environment.

(Inherited from PackageManager)
FeatureHifiSensors

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports high fidelity sensor processing capabilities.

(Inherited from PackageManager)
FeatureHomeScreen

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports a home screen that is replaceable by third party applications.

(Inherited from PackageManager)
FeatureIdentityCredentialHardware

Feature for #getSystemAvailableFeatures and #hasSystemFeature(String, int): If this feature is supported, the device supports android.security.identity.IdentityCredentialStore implemented in secure hardware at the given feature version.

(Inherited from PackageManager)
FeatureIdentityCredentialHardwareDirectAccess

Feature for #getSystemAvailableFeatures and #hasSystemFeature(String, int): If this feature is supported, the device supports android.security.identity.IdentityCredentialStore implemented in secure hardware with direct access at the given feature version.

(Inherited from PackageManager)
FeatureInputMethods

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports adding new input methods implemented with the android.inputmethodservice.InputMethodService API.

(Inherited from PackageManager)
FeatureIpsecTunnelMigration

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device has the requisite kernel support for migrating IPsec tunnels to new source/destination addresses.

(Inherited from PackageManager)
FeatureIpsecTunnels

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device has the requisite kernel support for multinetworking-capable IPsec tunnels.

(Inherited from PackageManager)
FeatureIris

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device has biometric hardware to perform iris authentication.

(Inherited from PackageManager)
FeatureKeystoreAppAttestKey

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device has a Keystore implementation that can create application-specific attestation keys.

(Inherited from PackageManager)
FeatureKeystoreLimitedUseKey

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device has a Keystore implementation that can enforce limited use key in hardware with any max usage count (including count equals to 1).

(Inherited from PackageManager)
FeatureKeystoreSingleUseKey

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device has a Keystore implementation that can only enforce limited use key in hardware with max usage count equals to 1.

(Inherited from PackageManager)
FeatureLeanback

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports leanback UI.

(Inherited from PackageManager)
FeatureLeanbackOnly

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports only leanback UI.

(Inherited from PackageManager)
FeatureLiveTv

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports live TV and can display contents from TV inputs implemented with the android.media.tv.TvInputService API.

(Inherited from PackageManager)
FeatureLiveWallpaper

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports live wallpapers.

(Inherited from PackageManager)
FeatureLocation

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports one or more methods of reporting current location.

(Inherited from PackageManager)
FeatureLocationGps

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device has a Global Positioning System receiver and can report precise location.

(Inherited from PackageManager)
FeatureLocationNetwork

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device can report location with coarse accuracy using a network-based geolocation system.

(Inherited from PackageManager)
FeatureManagedUsers

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports creating secondary users and managed profiles via DevicePolicyManager.

(Inherited from PackageManager)
FeatureMicrophone

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device can record audio via a microphone.

(Inherited from PackageManager)
FeatureMidi

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device has a full implementation of the android.

(Inherited from PackageManager)
FeatureNfc

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device can communicate using Near-Field Communications (NFC).

(Inherited from PackageManager)
FeatureNfcBeam

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The Beam API is enabled on the device.

(Inherited from PackageManager)
FeatureNfcHostCardEmulation

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports host- based NFC card emulation.

(Inherited from PackageManager)
FeatureNfcHostCardEmulationNfcf

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports host- based NFC-F card emulation.

(Inherited from PackageManager)
FeatureNfcOffHostCardEmulationEse

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports eSE- based NFC card emulation.

(Inherited from PackageManager)
FeatureNfcOffHostCardEmulationUicc

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports uicc- based NFC card emulation.

(Inherited from PackageManager)
FeatureOpenglesDeqpLevel

Feature for #getSystemAvailableFeatures and #hasSystemFeature(String, int): If this feature is supported, the feature version specifies a date such that the device is known to pass the OpenGLES dEQP test suite associated with that date.

(Inherited from PackageManager)
FeatureOpenglesExtensionPack

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports the OpenGL ES Android Extension Pack.

(Inherited from PackageManager)
FeaturePc

Feature for #getSystemAvailableFeatures and #hasSystemFeature: This is a device dedicated to be primarily used with keyboard, mouse or touchpad.

(Inherited from PackageManager)
FeaturePictureInPicture

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports picture-in-picture multi-window mode.

(Inherited from PackageManager)
FeaturePrinting

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports printing.

(Inherited from PackageManager)
FeatureRamLow

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device's ActivityManager#isLowRamDevice() ActivityManager.isLowRamDevice() method returns true.

(Inherited from PackageManager)
FeatureRamNormal

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device's ActivityManager#isLowRamDevice() ActivityManager.isLowRamDevice() method returns false.

(Inherited from PackageManager)
FeatureScreenLandscape

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports landscape orientation screens.

(Inherited from PackageManager)
FeatureScreenPortrait

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports portrait orientation screens.

(Inherited from PackageManager)
FeatureSecureLockScreen

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device has a secure implementation of keyguard, meaning the device supports PIN, pattern and password as defined in Android CDD

(Inherited from PackageManager)
FeatureSecurelyRemovesUsers

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports secure removal of users.

(Inherited from PackageManager)
FeatureSecurityModelCompatible

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device is compatible with Android’s security model.

(Inherited from PackageManager)
FeatureSensorAccelerometer

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device includes an accelerometer.

(Inherited from PackageManager)
FeatureSensorAccelerometerLimitedAxes

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device includes a limited axes accelerometer.

(Inherited from PackageManager)
FeatureSensorAccelerometerLimitedAxesUncalibrated

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device includes an uncalibrated limited axes accelerometer.

(Inherited from PackageManager)
FeatureSensorAmbientTemperature

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device includes an ambient temperature sensor.

(Inherited from PackageManager)
FeatureSensorBarometer

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device includes a barometer (air pressure sensor.

(Inherited from PackageManager)
FeatureSensorCompass

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device includes a magnetometer (compass).

(Inherited from PackageManager)
FeatureSensorDynamicHeadTracker

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports exposing head tracker sensors from peripheral devices via the dynamic sensors API.

(Inherited from PackageManager)
FeatureSensorGyroscope

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device includes a gyroscope.

(Inherited from PackageManager)
FeatureSensorGyroscopeLimitedAxes

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device includes a limited axes gyroscope.

(Inherited from PackageManager)
FeatureSensorGyroscopeLimitedAxesUncalibrated

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device includes an uncalibrated limited axes gyroscope.

(Inherited from PackageManager)
FeatureSensorHeading

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device includes a heading sensor.

(Inherited from PackageManager)
FeatureSensorHeartRate

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device includes a heart rate monitor.

(Inherited from PackageManager)
FeatureSensorHeartRateEcg

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The heart rate sensor on this device is an Electrocardiogram.

(Inherited from PackageManager)
FeatureSensorHingeAngle

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device includes a hinge angle sensor.

(Inherited from PackageManager)
FeatureSensorLight

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device includes a light sensor.

(Inherited from PackageManager)
FeatureSensorProximity

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device includes a proximity sensor.

(Inherited from PackageManager)
FeatureSensorRelativeHumidity

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device includes a relative humidity sensor.

(Inherited from PackageManager)
FeatureSensorStepCounter

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device includes a hardware step counter.

(Inherited from PackageManager)
FeatureSensorStepDetector

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device includes a hardware step detector.

(Inherited from PackageManager)
FeatureSeOmapiEse

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports Open Mobile API capable eSE-based secure elements.

(Inherited from PackageManager)
FeatureSeOmapiSd

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports Open Mobile API capable SD-based secure elements.

(Inherited from PackageManager)
FeatureSeOmapiUicc

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports Open Mobile API capable UICC-based secure elements.

(Inherited from PackageManager)
FeatureSip

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The SIP API is enabled on the device.

(Inherited from PackageManager)
FeatureSipVoip

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports SIP-based VOIP.

(Inherited from PackageManager)
FeatureStrongboxKeystore

Feature for #getSystemAvailableFeatures, #hasSystemFeature(String), and #hasSystemFeature(String, int): If this feature is supported, the device implements the Android Keystore backed by a dedicated secure processor referred to as StrongBox.

(Inherited from PackageManager)
FeatureTelecom

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports Telecom Service APIs.

(Inherited from PackageManager)
FeatureTelephony

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device has a telephony radio with data communication support.

(Inherited from PackageManager)
FeatureTelephonyCalling

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports Telephony APIs for calling service.

(Inherited from PackageManager)
FeatureTelephonyCdma

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device has a CDMA telephony stack.

(Inherited from PackageManager)
FeatureTelephonyData

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports Telephony APIs for data service.

(Inherited from PackageManager)
FeatureTelephonyEuicc

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports embedded subscriptions on eUICCs.

(Inherited from PackageManager)
FeatureTelephonyEuiccMep

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports multiple enabled profiles on eUICCs.

(Inherited from PackageManager)
FeatureTelephonyGsm

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device has a GSM telephony stack.

(Inherited from PackageManager)
FeatureTelephonyIms

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports attaching to IMS implementations using the ImsService API in telephony.

(Inherited from PackageManager)
FeatureTelephonyMbms

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports cell-broadcast reception using the MBMS APIs.

(Inherited from PackageManager)
FeatureTelephonyMessaging

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports Telephony APIs for SMS and MMS.

(Inherited from PackageManager)
FeatureTelephonyRadioAccess

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports Telephony APIs for the radio access.

(Inherited from PackageManager)
FeatureTelephonySubscription

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports Telephony APIs for the subscription.

(Inherited from PackageManager)
FeatureTelevision
Obsolete.

Feature for #getSystemAvailableFeatures and #hasSystemFeature: This is a device dedicated to showing UI on a television.

(Inherited from PackageManager)
FeatureTouchscreen

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device's display has a touch screen.

(Inherited from PackageManager)
FeatureTouchscreenMultitouch

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device's touch screen supports multitouch sufficient for basic two-finger gesture detection.

(Inherited from PackageManager)
FeatureTouchscreenMultitouchDistinct

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device's touch screen is capable of tracking two or more fingers fully independently.

(Inherited from PackageManager)
FeatureTouchscreenMultitouchJazzhand

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device's touch screen is capable of tracking a full hand of fingers fully independently -- that is, 5 or more simultaneous independent pointers.

(Inherited from PackageManager)
FeatureUsbAccessory

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports connecting to USB accessories.

(Inherited from PackageManager)
FeatureUsbHost

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports connecting to USB devices as the USB host.

(Inherited from PackageManager)
FeatureUwb

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device is capable of communicating with other devices via ultra wideband.

(Inherited from PackageManager)
FeatureVerifiedBoot

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports verified boot.

(Inherited from PackageManager)
FeatureVrHeadtracking

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device implements headtracking suitable for a VR device.

(Inherited from PackageManager)
FeatureVrMode

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device implements an optimized mode for virtual reality (VR) applications that handles stereoscopic rendering of notifications, and disables most monocular system UI components while a VR application has user focus.

(Inherited from PackageManager)
FeatureVrModeHighPerformance

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device implements an optimized mode for virtual reality (VR) applications that handles stereoscopic rendering of notifications, disables most monocular system UI components while a VR application has user focus and meets extra CDD requirements to provide a high-quality VR experience.

(Inherited from PackageManager)
FeatureVulkanDeqpLevel

Feature for #getSystemAvailableFeatures and #hasSystemFeature(String, int): If this feature is supported, the feature version specifies a date such that the device is known to pass the Vulkan dEQP test suite associated with that date.

(Inherited from PackageManager)
FeatureVulkanHardwareCompute

Feature for #getSystemAvailableFeatures and #hasSystemFeature(String, int): If this feature is supported, the Vulkan implementation on this device is hardware accelerated, and the Vulkan native API will enumerate at least one VkPhysicalDevice, and the feature version will indicate what level of optional compute features that device supports beyond the Vulkan 1.

(Inherited from PackageManager)
FeatureVulkanHardwareLevel

Feature for #getSystemAvailableFeatures and #hasSystemFeature(String, int): If this feature is supported, the Vulkan implementation on this device is hardware accelerated, and the Vulkan native API will enumerate at least one VkPhysicalDevice, and the feature version will indicate what level of optional hardware features limits it supports.

(Inherited from PackageManager)
FeatureVulkanHardwareVersion

Feature for #getSystemAvailableFeatures and #hasSystemFeature(String, int): If this feature is supported, the Vulkan implementation on this device is hardware accelerated, and the feature version will indicate the highest VkPhysicalDeviceProperties::apiVersion supported by the physical devices that support the hardware level indicated by #FEATURE_VULKAN_HARDWARE_LEVEL.

(Inherited from PackageManager)
FeatureWalletLocationBasedSuggestions

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports showing location-based suggestions for wallet cards provided by the default payment app.

(Inherited from PackageManager)
FeatureWatch

Feature for #getSystemAvailableFeatures and #hasSystemFeature: This is a device dedicated to showing UI on a watch.

(Inherited from PackageManager)
FeatureWebview

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device has a full implementation of the android.

(Inherited from PackageManager)
FeatureWifi

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports WiFi (802.

(Inherited from PackageManager)
FeatureWifiAware

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports Wi-Fi Aware.

(Inherited from PackageManager)
FeatureWifiDirect

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports Wi-Fi Direct networking.

(Inherited from PackageManager)
FeatureWifiPasspoint

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports Wi-Fi Passpoint and all Passpoint related APIs in WifiManager are supported.

(Inherited from PackageManager)
FeatureWifiRtt

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports Wi-Fi RTT (IEEE 802.

(Inherited from PackageManager)
FeatureWindowMagnification

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports window magnification.

(Inherited from PackageManager)
FlagPermissionWhitelistInstaller
Obsolete.

Permission whitelist flag: permissions whitelisted by the installer.

(Inherited from PackageManager)
FlagPermissionWhitelistSystem
Obsolete.

Permission whitelist flag: permissions whitelisted by the system.

(Inherited from PackageManager)
FlagPermissionWhitelistUpgrade
Obsolete.

Permission whitelist flag: permissions whitelisted by the system when upgrading from an OS version where the permission was not restricted to an OS version where the permission is restricted.

(Inherited from PackageManager)
GetAttributions

This member is deprecated.

(Inherited from PackageManager)
GetAttributionsLong

PackageInfo flag: return all attributions declared in the package manifest

(Inherited from PackageManager)
InstallScenarioBulk
Obsolete.

Installation scenario indicating a bulk operation with the desired result of a fully optimized application.

(Inherited from PackageManager)
InstallScenarioBulkSecondary
Obsolete.

Installation scenario indicating a bulk operation that prioritizes minimal system health impact over application optimization.

(Inherited from PackageManager)
InstallScenarioDefault
Obsolete.

A value to indicate the lack of CUJ information, disabling all installation scenario logic.

(Inherited from PackageManager)
InstallScenarioFast
Obsolete.

Installation scenario providing the fastest “install button to launch" experience possible.

(Inherited from PackageManager)
MatchApex

PackageInfo flag: include APEX packages that are currently installed.

(Inherited from PackageManager)
MatchDirectBootAuto

Querying flag: automatically match components based on their Direct Boot awareness and the current user state.

(Inherited from PackageManager)
MaximumVerificationTimeout

Can be used as the millisecondsToDelay argument for PackageManager#extendVerificationTimeout.

(Inherited from PackageManager)
PropertyCompatOverrideLandscapeToPortrait

Application level android.content.pm.PackageManager.Property PackageManager .Property for an app to inform the system that the app can be opted-in or opted-out from the compatibility treatment that rotates camera output by 90 degrees on landscape sensors on devices known to have compatibility issues.

(Inherited from PackageManager)
PropertyMediaCapabilities

&lt;application&gt; level android.content.pm.PackageManager.Property tag specifying the XML resource ID containing an application's media capabilities XML file

        For example:
        &amp;lt;application&amp;gt;
          &amp;lt;property android:name="android.
(Inherited from PackageManager)
PropertySelfCertifiedNetworkCapabilities

&lt;application&gt; level android.content.pm.PackageManager.Property tag specifying the XML resource ID containing the declaration of the self-certified network capabilities used by the application.

(Inherited from PackageManager)
PropertySpecialUseFgsSubtype

&lt;service&gt; level android.content.pm.PackageManager.Property tag specifying the actual use case of the service if it's foreground service with the type ServiceInfo#FOREGROUND_SERVICE_TYPE_SPECIAL_USE.

(Inherited from PackageManager)
Synchronous
Obsolete.

Flag parameter for #setComponentEnabledSetting(android.content.ComponentName, int, int) to indicate that the given user's package restrictions state will be serialised to disk after the component state has been updated.

(Inherited from PackageManager)
VerificationAllow
Obsolete.

Used as the verificationCode argument for PackageManager#verifyPendingInstall to indicate that the calling package verifier allows the installation to proceed.

(Inherited from PackageManager)
VerificationReject
Obsolete.

Used as the verificationCode argument for PackageManager#verifyPendingInstall to indicate the calling package verifier does not vote to allow the installation to proceed.

(Inherited from PackageManager)
VersionCodeHighest

Constant for specifying the highest installed package version code.

(Inherited from PackageManager)

Properties

BackgroundPermissionOptionLabel (Inherited from PackageManager)
BackgroundPermissionOptionLabelFormatted

Gets the localized label that corresponds to the option in settings for granting background access.

(Inherited from PackageManager)
Class

Returns the runtime class of this Object.

(Inherited from Object)
DefaultActivityIcon

Return the generic icon for an activity that is used when no specific icon is defined.

Handle

The handle to the underlying Android instance.

(Inherited from Object)
InstantAppCookieMaxBytes
IsAutoRevokeWhitelisted

<strong>Note: </strong>In retrospect it would have been preferred to use more inclusive terminology when naming this API.

(Inherited from PackageManager)
IsDeviceUpgrading

Returns true if the device is upgrading, such as first boot after OTA.

(Inherited from PackageManager)
IsInstantApp
IsPackageSuspended

Apps can query this to know if they have been suspended.

(Inherited from PackageManager)
IsSafeMode

Return whether the device has been booted into safe mode.

JniIdentityHashCode (Inherited from Object)
JniPeerMembers
PackageInstaller

{

PeerReference (Inherited from Object)
SuspendedPackageAppExtras

Returns a Bundle of extras that was meant to be sent to the calling app when it was suspended.

(Inherited from PackageManager)
ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Methods

AddPackageToPreferred(String)
AddPermission(PermissionInfo)

Add a new dynamic permission to the system.

AddPermissionAsync(PermissionInfo)
AddPreferredActivity(IntentFilter, MatchResults, ComponentName[], ComponentName)
AddWhitelistedRestrictedPermission(String, String, FlagPermission)

Adds a whitelisted restricted permission for an app.

(Inherited from PackageManager)
CanonicalToCurrentPackageNames(String[])

Map from a packages canonical name to the current name in use on the device.

CanPackageQuery(String, String)

Returns true if the source package is able to query for details about the target package.

(Inherited from PackageManager)
CanPackageQuery(String, String[])

Same as #canPackageQuery(String, String) but accepts an array of target packages to be queried.

(Inherited from PackageManager)
CanRequestPackageInstalls()
CheckPermission(String, String)

Check whether a particular package has been granted a particular permission.

CheckSignatures(Int32, Int32)

Like CheckSignatures(String, String), but takes UIDs of the two packages to be checked.

CheckSignatures(String, String)

Compare the signatures of two packages to determine if the same signature appears in both of them.

ClearInstantAppCookie()
ClearPackagePreferredActivities(String)
Clone()

Creates and returns a copy of this object.

(Inherited from Object)
CurrentToCanonicalPackageNames(String[])

Map from the current package names in use on the device to whatever the current canonical name of that package is.

Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Equals(Object)

Indicates whether some other object is "equal to" this one.

(Inherited from Object)
ExtendVerificationTimeout(Int32, PackageInstallVerification, Int64)

Allows a package listening to the ActionPackageNeedsVerification to extend the default timeout for a response and declare what action to perform after the timeout occurs.

GetActivityBanner(ComponentName)

Retrieve the banner associated with an activity.

GetActivityBanner(Intent)

Retrieve the banner associated with an Intent.

GetActivityIcon(ComponentName)

Retrieve the icon associated with an activity.

GetActivityIcon(Intent)

Retrieve the icon associated with an Intent.

GetActivityInfo(ComponentName, PackageInfoFlags)

Retrieve all of the information we know about a particular activity class.

GetActivityInfo(ComponentName, PackageManager+ComponentInfoFlags) (Inherited from PackageManager)
GetActivityLogo(ComponentName)

Retrieve the logo associated with an activity.

GetActivityLogo(Intent)

Retrieve the logo associated with an Intent.

GetAllIntentFilters(String)
GetAllPermissionGroups(PackageInfoFlags)

Retrieve all of the known permission groups in the system.

GetApplicationBanner(ApplicationInfo)

Retrieve the banner associated with an application.

GetApplicationBanner(String)

Retrieve the banner associated with an application.

GetApplicationEnabledSetting(String)

Return the enabled setting for an application.

GetApplicationIcon(ApplicationInfo)

Retrieve the icon associated with an application.

GetApplicationIcon(String)

Retrieve the icon associated with an application.

GetApplicationInfo(String, PackageInfoFlags)

Retrieve all of the information we know about a particular package/application.

GetApplicationInfo(String, PackageManager+ApplicationInfoFlags) (Inherited from PackageManager)
GetApplicationLabel(ApplicationInfo)
GetApplicationLabelFormatted(ApplicationInfo)

Return the label to use for this application.

GetApplicationLogo(ApplicationInfo)

Retrieve the logo associated with an application.

GetApplicationLogo(String)

Retrieve the logo associated with an application.

GetChangedPackages(Int32)
GetComponentEnabledSetting(ComponentName)

Return the enabled setting for a package component (activity, receiver, service, provider).

GetDefaultBrowserPackageName(Int32)

{

GetDrawable(String, Int32, ApplicationInfo)

Retrieve an image from a package.

GetGroupOfPlatformPermission(String, IExecutor, IConsumer)

Get the platform-defined permission group of a particular permission, if the permission is a platform-defined permission.

(Inherited from PackageManager)
GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
GetInstalledApplications(PackageInfoFlags)

Return a List of all application packages that are installed on the device.

GetInstalledApplications(PackageManager+ApplicationInfoFlags) (Inherited from PackageManager)
GetInstalledModules(Int32)

Return a List of all modules that are installed.

(Inherited from PackageManager)
GetInstalledPackages(PackageInfoFlags)

Return a List of all packages that are installed on the device.

GetInstalledPackages(PackageManager+PackageInfoFlags) (Inherited from PackageManager)
GetInstallerPackageName(String)
Obsolete.

Retrieve the package name of the application that installed a package.

GetInstallSourceInfo(String)

Retrieves information about how a package was installed or updated.

(Inherited from PackageManager)
GetInstantAppCookie()
GetInstrumentationInfo(ComponentName, PackageInfoFlags)

Retrieve all of the information we know about a particular instrumentation class.

GetLaunchIntentForPackage(String)

Returns a "good" intent to launch a front-door activity in a package.

GetLaunchIntentSenderForPackage(String)

Returns an IntentSender that can be used to launch a front-door activity in a package.

(Inherited from PackageManager)
GetLeanbackLaunchIntentForPackage(String)

Return a "good" intent to launch a front-door Leanback activity in a package, for use for example to implement an "open" button when browsing through packages.

GetMimeGroup(String)

Gets all MIME types contained by MIME group.

(Inherited from PackageManager)
GetModuleInfo(String, Int32)

Retrieve information for a particular module.

(Inherited from PackageManager)
GetNameForUid(Int32)

Retrieve the official name associated with a user id.

GetPackageArchiveInfo(String, PackageInfoFlags)

Retrieve overall information about an application package defined in a package archive file

        Use <code data-dev-comment-type="c">#getPackageArchiveInfo(String, PackageInfoFlags)</code> when long flags are needed.
(Inherited from PackageManager)
GetPackageArchiveInfo(String, PackageManager+PackageInfoFlags) (Inherited from PackageManager)
GetPackageGids(String)

Return an array of all of the secondary group-ids that have been assigned to a package.

GetPackageGids(String, PackageInfoFlags)
GetPackageGids(String, PackageManager+PackageInfoFlags) (Inherited from PackageManager)
GetPackageInfo(String, PackageInfoFlags)

Retrieve overall information about an application package that is installed on the system.

GetPackageInfo(String, PackageManager+PackageInfoFlags) (Inherited from PackageManager)
GetPackageInfo(VersionedPackage, PackageInfoFlags)
GetPackageInfo(VersionedPackage, PackageManager+PackageInfoFlags) (Inherited from PackageManager)
GetPackagesForUid(Int32)

Retrieve the names of all packages that are associated with a particular user id.

GetPackagesHoldingPermissions(String[], PackageInfoFlags)

Return a List of all installed packages that are currently holding any of the given permissions.

GetPackagesHoldingPermissions(String[], PackageManager+PackageInfoFlags) (Inherited from PackageManager)
GetPackageUid(String, PackageInfoFlags)
GetPackageUid(String, PackageManager+PackageInfoFlags) (Inherited from PackageManager)
GetPermissionGroupInfo(String, PackageInfoFlags)

Retrieve all of the information we know about a particular group of permissions.

GetPermissionInfo(String, PackageInfoFlags)

Retrieve all of the information we know about a particular permission.

GetPlatformPermissionsForGroup(String, IExecutor, IConsumer)

Get the platform-defined permissions which belong to a particular permission group.

(Inherited from PackageManager)
GetPreferredActivities(IList<IntentFilter>, IList<ComponentName>, String)
GetPreferredPackages(PackageInfoFlags)
Obsolete.

Retrieve the list of all currently configured preferred packages.

GetProperty(String, ComponentName)

Returns the property defined in the given component declaration.

(Inherited from PackageManager)
GetProperty(String, String)

Returns the property defined in the given component declaration.

(Inherited from PackageManager)
GetProviderInfo(ComponentName, PackageInfoFlags)

Retrieve all of the information we know about a particular content provider class.

GetProviderInfo(ComponentName, PackageManager+ComponentInfoFlags) (Inherited from PackageManager)
GetReceiverInfo(ComponentName, PackageInfoFlags)

Retrieve all of the information we know about a particular receiver class.

GetReceiverInfo(ComponentName, PackageManager+ComponentInfoFlags) (Inherited from PackageManager)
GetResourcesForActivity(ComponentName)

Retrieve the resources associated with an activity.

GetResourcesForApplication(ApplicationInfo)

Retrieve the resources for an application.

GetResourcesForApplication(ApplicationInfo, Configuration)

Retrieve the resources for an application for the provided configuration.

(Inherited from PackageManager)
GetResourcesForApplication(String)

Retrieve the resources associated with an application.

GetServiceInfo(ComponentName, PackageInfoFlags)

Retrieve all of the information we know about a particular service class.

GetServiceInfo(ComponentName, PackageManager+ComponentInfoFlags) (Inherited from PackageManager)
GetSharedLibraries(PackageInstallReason)
GetSharedLibraries(PackageManager+PackageInfoFlags) (Inherited from PackageManager)
GetSyntheticAppDetailsActivityEnabled(String)

Return whether a synthetic app details activity will be generated if the app has no enabled launcher activity.

(Inherited from PackageManager)
GetSystemAvailableFeatures()

Get a list of features that are available on the system.

GetSystemSharedLibraryNames()

Get a list of shared libraries that are available on the system.

GetTargetSdkVersion(String) (Inherited from PackageManager)
GetText(String, Int32, ApplicationInfo)
GetTextFormatted(String, Int32, ApplicationInfo)

Retrieve text from a package.

GetUserBadgedDrawableForDensity(Drawable, UserHandle, Rect, Int32)
GetUserBadgedIcon(Drawable, UserHandle)
GetUserBadgedLabel(String, UserHandle)
GetUserBadgedLabelFormatted(ICharSequence, UserHandle)

If the target user is a managed profile of the calling user or the caller is itself a managed profile, then this returns a copy of the label with badging for accessibility services like talkback.

GetWhitelistedRestrictedPermissions(String, FlagPermission)

Gets the restricted permissions that have been whitelisted and the app is allowed to have them granted in their full form.

(Inherited from PackageManager)
GetXml(String, Int32, ApplicationInfo)

Retrieve an XML file from a package.

HasSigningCertificate(Int32, Byte[], CertificateType)

Searches the set of signing certificates by which the package(s) for the given uid has proven to have been signed.

(Inherited from PackageManager)
HasSigningCertificate(String, Byte[], CertificateType)

Searches the set of signing certificates by which the given package has proven to have been signed.

(Inherited from PackageManager)
HasSystemFeature(String)

Check whether the given feature name is one of the available features as returned by GetSystemAvailableFeatures().

HasSystemFeature(String, Int32)
InvokeIsAutoRevokeWhitelisted(String)

Checks whether an application is exempt from having its permissions be automatically revoked when the app is unused for an extended period of time.

(Inherited from PackageManager)
InvokeIsInstantApp(String)
InvokeIsPackageSuspended(String)

Query if an app is currently suspended.

(Inherited from PackageManager)
IsDefaultApplicationIcon(Drawable)

Returns if the provided drawable represents the default activity icon provided by the system.

(Inherited from PackageManager)
IsPermissionRevokedByPolicy(String, String)
JavaFinalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

(Inherited from Object)
Notify()

Wakes up a single thread that is waiting on this object's monitor.

(Inherited from Object)
NotifyAll()

Wakes up all threads that are waiting on this object's monitor.

(Inherited from Object)
QueryActivityProperty(String)

Returns the property definition for all &lt;activity&gt; and &lt;activity-alias&gt; tags.

(Inherited from PackageManager)
QueryApplicationProperty(String)

Returns the property definition for all &lt;application&gt; tags.

(Inherited from PackageManager)
QueryBroadcastReceivers(Intent, PackageInfoFlags)

Retrieve all receivers that can handle a broadcast of the given intent.

QueryBroadcastReceivers(Intent, PackageManager+ResolveInfoFlags) (Inherited from PackageManager)
QueryContentProviders(String, Int32, PackageInfoFlags)

Retrieve content provider information.

QueryContentProviders(String, Int32, PackageManager+ComponentInfoFlags) (Inherited from PackageManager)
QueryInstrumentation(String, PackageInfoFlags)

Retrieve information about available instrumentation code.

QueryIntentActivities(Intent, PackageInfoFlags)

Retrieve all activities that can be performed for the given intent.

QueryIntentActivities(Intent, PackageManager+ResolveInfoFlags) (Inherited from PackageManager)
QueryIntentActivityOptions(ComponentName, IList<Intent>, Intent, PackageInfoFlags) (Inherited from PackageManager)
QueryIntentActivityOptions(ComponentName, Intent[], Intent, PackageInfoFlags)

Retrieve a set of activities that should be presented to the user as similar options.

QueryIntentContentProviders(Intent, PackageInfoFlags)

Retrieve all providers that can match the given intent.

QueryIntentContentProviders(Intent, PackageManager+ResolveInfoFlags) (Inherited from PackageManager)
QueryIntentServices(Intent, PackageInfoFlags)

Retrieve all services that can match the given intent.

QueryIntentServices(Intent, PackageManager+ResolveInfoFlags) (Inherited from PackageManager)
QueryPermissionsByGroup(String, PackageInfoFlags)

Query for all of the permissions associated with a particular group.

QueryProviderProperty(String)

Returns the property definition for all &lt;provider&gt; tags.

(Inherited from PackageManager)
QueryReceiverProperty(String)

Returns the property definition for all &lt;receiver&gt; tags.

(Inherited from PackageManager)
QueryServiceProperty(String)

Returns the property definition for all &lt;service&gt; tags.

(Inherited from PackageManager)
RelinquishUpdateOwnership(String)

Attempt to relinquish the update ownership of the given package.

(Inherited from PackageManager)
RemovePackageFromPreferred(String)
RemovePermission(String)

Removes a permission that was previously added with AddPermission(PermissionInfo).

RemoveWhitelistedRestrictedPermission(String, String, FlagPermission)

Removes a whitelisted restricted permission for an app.

(Inherited from PackageManager)
RequestChecksums(String, Boolean, Int32, IList<Certificate>, PackageManager+IOnChecksumsReadyListener)

Requesting the checksums for APKs within a package.

(Inherited from PackageManager)
ResolveActivity(Intent, PackageInfoFlags)

Determine the best action to perform for a given Intent.

ResolveActivity(Intent, PackageManager+ResolveInfoFlags) (Inherited from PackageManager)
ResolveContentProvider(String, PackageInfoFlags)

Find a single content provider by its base path name.

ResolveContentProvider(String, PackageManager+ComponentInfoFlags) (Inherited from PackageManager)
ResolveService(Intent, PackageInfoFlags)

Determine the best service to handle for a given Intent.

ResolveService(Intent, PackageManager+ResolveInfoFlags) (Inherited from PackageManager)
SetApplicationCategoryHint(String, Int32)
SetApplicationEnabledSetting(String, ComponentEnabledState, ComponentEnableOption)

Set the enabled setting for an application This setting will override any enabled state which may have been set by the application in its manifest.

SetAutoRevokeWhitelisted(String, Boolean)

Marks an application exempt from having its permissions be automatically revoked when the app is unused for an extended period of time.

(Inherited from PackageManager)
SetComponentEnabledSetting(ComponentName, ComponentEnabledState, ComponentEnableOption)

Set the enabled setting for a package component (activity, receiver, service, provider).

SetComponentEnabledSettings(IList<PackageManager.ComponentEnabledSetting>)

Set the enabled settings for package components such as activities, receivers, services and providers.

(Inherited from PackageManager)
SetDefaultBrowserPackageName(String, Int32)

{

SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
SetInstallerPackageName(String, String)

Change the installer associated with a given package.

SetMimeGroup(String, ICollection<String>)

Sets MIME group's MIME types.

(Inherited from PackageManager)
ToArray<T>() (Inherited from Object)
ToString()

Returns a string representation of the object.

(Inherited from Object)
UnregisterFromRuntime() (Inherited from Object)
UpdateInstantAppCookie(Byte[])
VerifyPendingInstall(Int32, PackageInstallVerification)

Allows a package listening to the ActionPackageNeedsVerification to respond to the package manager.

Wait()

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>.

(Inherited from Object)
Wait(Int64)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
Wait(Int64, Int32)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)

Explicit Interface Implementations

IJavaPeerable.Disposed() (Inherited from Object)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Object)
IJavaPeerable.Finalized() (Inherited from Object)
IJavaPeerable.JniManagedPeerState (Inherited from Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Object)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to