MockPackageManager MockPackageManager Class

Definition

Warning

This API is now obsolete.

A mock PackageManager class.

[Android.Runtime.Register("android/test/mock/MockPackageManager", ApiSince=1, DoNotGenerateAcw=true)]
[System.Obsolete("This class is obsoleted in this android platform")]
public class MockPackageManager : Android.Content.PM.PackageManager
type MockPackageManager = class
    inherit PackageManager
Inheritance
MockPackageManagerMockPackageManager
Attributes

Remarks

Android platform documentation

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()
MockPackageManager(IntPtr, JniHandleOwnership) MockPackageManager(IntPtr, JniHandleOwnership)

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

Properties

Class Class

Returns the unique instance of Class that represents this object's class.

(Inherited from Object)
DefaultActivityIcon DefaultActivityIcon

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

Handle Handle

The handle to the underlying Android instance.

(Inherited from Object)
IJavaObjectEx.IsProxy IJavaObjectEx.IsProxy Inherited from Object
IJavaObjectEx.KeyHandle IJavaObjectEx.KeyHandle Inherited from Object
IJavaObjectEx.NeedsActivation IJavaObjectEx.NeedsActivation Inherited from Object
IJavaPeerable.JniManagedPeerState IJavaPeerable.JniManagedPeerState Inherited from Object
InstantAppCookieMaxBytes InstantAppCookieMaxBytes
IsInstantApp IsInstantApp
IsSafeMode IsSafeMode

Return whether the device has been booted into safe mode.

JniIdentityHashCode JniIdentityHashCode Inherited from Object
JniPeerMembers JniPeerMembers
PackageInstaller PackageInstaller
PeerReference PeerReference Inherited from Object
ThresholdClass ThresholdClass

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

ThresholdType ThresholdType

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

Methods

AddPackageToPreferred(String) AddPackageToPreferred(String)
AddPermission(PermissionInfo) AddPermission(PermissionInfo)

Add a new dynamic permission to the system.

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

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

CanRequestPackageInstalls() CanRequestPackageInstalls()
CheckPermission(String, String) CheckPermission(String, String)

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

CheckSignatures(Int32, Int32) CheckSignatures(Int32, Int32)

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

CheckSignatures(String, String) CheckSignatures(String, String)

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

ClearInstantAppCookie() ClearInstantAppCookie()
ClearPackagePreferredActivities(String) ClearPackagePreferredActivities(String)
Clone() Clone()

Creates and returns a copy of this Object.

(Inherited from Object)
CurrentToCanonicalPackageNames(String[]) CurrentToCanonicalPackageNames(String[])

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

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

Compares this instance with the specified object and indicates if they are equal.

(Inherited from Object)
ExtendVerificationTimeout(Int32, PackageInstallVerification, Int64) 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) GetActivityBanner(ComponentName)

Retrieve the banner associated with an activity.

GetActivityBanner(Intent) GetActivityBanner(Intent)

Retrieve the banner associated with an Intent.

GetActivityIcon(ComponentName) GetActivityIcon(ComponentName)

Retrieve the icon associated with an activity.

GetActivityIcon(Intent) GetActivityIcon(Intent)

Retrieve the icon associated with an Intent.

GetActivityInfo(ComponentName, PackageInfoFlags) GetActivityInfo(ComponentName, PackageInfoFlags)

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

GetActivityLogo(ComponentName) GetActivityLogo(ComponentName)

Retrieve the logo associated with an activity.

GetActivityLogo(Intent) GetActivityLogo(Intent)

Retrieve the logo associated with an Intent.

GetAllIntentFilters(String) GetAllIntentFilters(String)
GetAllPermissionGroups(PackageInfoFlags) GetAllPermissionGroups(PackageInfoFlags)

Retrieve all of the known permission groups in the system.

GetApplicationBanner(ApplicationInfo) GetApplicationBanner(ApplicationInfo)

Retrieve the banner associated with an application.

GetApplicationBanner(String) GetApplicationBanner(String)

Retrieve the banner associated with an application.

GetApplicationEnabledSetting(String) GetApplicationEnabledSetting(String)

Return the enabled setting for an application.

GetApplicationIcon(ApplicationInfo) GetApplicationIcon(ApplicationInfo)

Retrieve the icon associated with an application.

GetApplicationIcon(String) GetApplicationIcon(String)

Retrieve the icon associated with an application.

GetApplicationInfo(String, PackageInfoFlags) GetApplicationInfo(String, PackageInfoFlags)

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

GetApplicationLabel(ApplicationInfo) GetApplicationLabel(ApplicationInfo)
GetApplicationLabelFormatted(ApplicationInfo) GetApplicationLabelFormatted(ApplicationInfo)

Return the label to use for this application.

GetApplicationLogo(ApplicationInfo) GetApplicationLogo(ApplicationInfo)

Retrieve the logo associated with an application.

GetApplicationLogo(String) GetApplicationLogo(String)

Retrieve the logo associated with an application.

GetChangedPackages(Int32) GetChangedPackages(Int32)
GetComponentEnabledSetting(ComponentName) GetComponentEnabledSetting(ComponentName)

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

GetDefaultBrowserPackageName(Int32) GetDefaultBrowserPackageName(Int32)
GetDrawable(String, Int32, ApplicationInfo) GetDrawable(String, Int32, ApplicationInfo)

Retrieve an image from a package.

GetHashCode() GetHashCode()

Returns an integer hash code for this object.

(Inherited from Object)
GetInstalledApplications(PackageInfoFlags) GetInstalledApplications(PackageInfoFlags)

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

GetInstalledPackages(PackageInfoFlags) GetInstalledPackages(PackageInfoFlags)

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

GetInstallerPackageName(String) GetInstallerPackageName(String)

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

GetInstantAppCookie() GetInstantAppCookie()
GetInstrumentationInfo(ComponentName, PackageInfoFlags) GetInstrumentationInfo(ComponentName, PackageInfoFlags)

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

GetLaunchIntentForPackage(String) GetLaunchIntentForPackage(String)

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

GetLeanbackLaunchIntentForPackage(String) 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.

GetNameForUid(Int32) GetNameForUid(Int32)

Retrieve the official name associated with a user id.

GetPackageArchiveInfo(String, PackageInfoFlags) GetPackageArchiveInfo(String, PackageInfoFlags)

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

(Inherited from PackageManager)
GetPackageGids(String) GetPackageGids(String)

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

GetPackageGids(String, PackageInfoFlags) GetPackageGids(String, PackageInfoFlags)
GetPackageInfo(String, PackageInfoFlags) GetPackageInfo(String, PackageInfoFlags)

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

GetPackageInfo(VersionedPackage, PackageInfoFlags) GetPackageInfo(VersionedPackage, PackageInfoFlags)
GetPackagesForUid(Int32) GetPackagesForUid(Int32)

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

GetPackagesHoldingPermissions(String[], PackageInfoFlags) GetPackagesHoldingPermissions(String[], PackageInfoFlags)

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

GetPackageUid(String, PackageInfoFlags) GetPackageUid(String, PackageInfoFlags)
GetPermissionGroupInfo(String, PackageInfoFlags) GetPermissionGroupInfo(String, PackageInfoFlags)

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

GetPermissionInfo(String, PackageInfoFlags) GetPermissionInfo(String, PackageInfoFlags)

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

GetPreferredActivities(IList<IntentFilter>, IList<ComponentName>, String) GetPreferredActivities(IList<IntentFilter>, IList<ComponentName>, String)
GetPreferredPackages(PackageInfoFlags) GetPreferredPackages(PackageInfoFlags)

Retrieve the list of all currently configured preferred packages.

GetProviderInfo(ComponentName, PackageInfoFlags) GetProviderInfo(ComponentName, PackageInfoFlags)

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

GetReceiverInfo(ComponentName, PackageInfoFlags) GetReceiverInfo(ComponentName, PackageInfoFlags)

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

GetResourcesForActivity(ComponentName) GetResourcesForActivity(ComponentName)

Retrieve the resources associated with an activity.

GetResourcesForApplication(ApplicationInfo) GetResourcesForApplication(ApplicationInfo)

Retrieve the resources for an application.

GetResourcesForApplication(String) GetResourcesForApplication(String)

Retrieve the resources associated with an application.

GetServiceInfo(ComponentName, PackageInfoFlags) GetServiceInfo(ComponentName, PackageInfoFlags)

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

GetSharedLibraries(PackageInstallReason) GetSharedLibraries(PackageInstallReason)
GetSystemAvailableFeatures() GetSystemAvailableFeatures()

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

GetSystemSharedLibraryNames() GetSystemSharedLibraryNames()

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

GetText(String, Int32, ApplicationInfo) GetText(String, Int32, ApplicationInfo)
GetTextFormatted(String, Int32, ApplicationInfo) GetTextFormatted(String, Int32, ApplicationInfo)

Retrieve text from a package.

GetUserBadgedDrawableForDensity(Drawable, UserHandle, Rect, Int32) GetUserBadgedDrawableForDensity(Drawable, UserHandle, Rect, Int32)
GetUserBadgedIcon(Drawable, UserHandle) GetUserBadgedIcon(Drawable, UserHandle)
GetUserBadgedLabel(String, UserHandle) GetUserBadgedLabel(String, UserHandle)
GetUserBadgedLabelFormatted(ICharSequence, 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.

GetXml(String, Int32, ApplicationInfo) GetXml(String, Int32, ApplicationInfo)

Retrieve an XML file from a package.

HasSystemFeature(String) HasSystemFeature(String)

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

HasSystemFeature(String, Int32) HasSystemFeature(String, Int32)
InvokeIsInstantApp(String) InvokeIsInstantApp(String)
IsPermissionRevokedByPolicy(String, String) IsPermissionRevokedByPolicy(String, String)
JavaFinalize() JavaFinalize()

Invoked when the garbage collector has detected that this instance is no longer reachable.

(Inherited from Object)
Notify() Notify()

Causes a thread which is waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
NotifyAll() NotifyAll()

Causes all threads which are waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
QueryBroadcastReceivers(Intent, PackageInfoFlags) QueryBroadcastReceivers(Intent, PackageInfoFlags)

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

QueryContentProviders(String, Int32, PackageInfoFlags) QueryContentProviders(String, Int32, PackageInfoFlags)

Retrieve content provider information.

QueryInstrumentation(String, PackageInfoFlags) QueryInstrumentation(String, PackageInfoFlags)

Retrieve information about available instrumentation code.

QueryIntentActivities(Intent, PackageInfoFlags) QueryIntentActivities(Intent, PackageInfoFlags)

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

QueryIntentActivityOptions(ComponentName, Intent[], Intent, PackageInfoFlags) QueryIntentActivityOptions(ComponentName, Intent[], Intent, PackageInfoFlags)

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

QueryIntentContentProviders(Intent, PackageInfoFlags) QueryIntentContentProviders(Intent, PackageInfoFlags)

Retrieve all providers that can match the given intent.

QueryIntentServices(Intent, PackageInfoFlags) QueryIntentServices(Intent, PackageInfoFlags)

Retrieve all services that can match the given intent.

QueryPermissionsByGroup(String, PackageInfoFlags) QueryPermissionsByGroup(String, PackageInfoFlags)

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

RemovePackageFromPreferred(String) RemovePackageFromPreferred(String)
RemovePermission(String) RemovePermission(String)

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

ResolveActivity(Intent, PackageInfoFlags) ResolveActivity(Intent, PackageInfoFlags)

Determine the best action to perform for a given Intent.

ResolveContentProvider(String, PackageInfoFlags) ResolveContentProvider(String, PackageInfoFlags)

Find a single content provider by its base path name.

ResolveService(Intent, PackageInfoFlags) ResolveService(Intent, PackageInfoFlags)

Determine the best service to handle for a given Intent.

SetApplicationCategoryHint(String, Int32) SetApplicationCategoryHint(String, Int32)
SetApplicationEnabledSetting(String, ComponentEnabledState, ComponentEnableOption) 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.

SetComponentEnabledSetting(ComponentName, ComponentEnabledState, ComponentEnableOption) SetComponentEnabledSetting(ComponentName, ComponentEnabledState, ComponentEnableOption)

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

SetDefaultBrowserPackageName(String, Int32) SetDefaultBrowserPackageName(String, Int32)
SetHandle(IntPtr, JniHandleOwnership) SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
SetInstallerPackageName(String, String) SetInstallerPackageName(String, String)

Change the installer associated with a given package.

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

Returns a string containing a concise, human-readable description of this object.

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

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

Wait() Wait()

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object.

(Inherited from Object)
Wait(Int64) Wait(Int64)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)
Wait(Int64, Int32) Wait(Int64, Int32)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)

Fields

DontKillApp DontKillApp Inherited from PackageManager
ExtraVerificationId ExtraVerificationId

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

(Inherited from PackageManager)
ExtraVerificationResult ExtraVerificationResult

Extra field name for the result of a verification, either VerificationAllow, or VerificationReject.

(Inherited from PackageManager)
FeatureActivitiesOnSecondaryDisplays FeatureActivitiesOnSecondaryDisplays Inherited from PackageManager
FeatureAppWidgets FeatureAppWidgets

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device supports app widgets.

(Inherited from PackageManager)
FeatureAudioLowLatency FeatureAudioLowLatency

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): 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 FeatureAudioOutput

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device includes at least one form of audio output, such as speakers, audio jack or streaming over bluetooth

(Inherited from PackageManager)
FeatureAudioPro FeatureAudioPro Inherited from PackageManager
FeatureAutofill FeatureAutofill Inherited from PackageManager
FeatureAutomotive FeatureAutomotive Inherited from PackageManager
FeatureBackup FeatureBackup

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device can perform backup and restore operations on installed applications.

(Inherited from PackageManager)
FeatureBluetooth FeatureBluetooth

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device is capable of communicating with other devices via Bluetooth.

(Inherited from PackageManager)
FeatureBluetoothLe FeatureBluetoothLe

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device is capable of communicating with other devices via Bluetooth Low Energy radio.

(Inherited from PackageManager)
FeatureCamera FeatureCamera

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device has a camera facing away from the screen.

(Inherited from PackageManager)
FeatureCameraAny FeatureCameraAny

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device has at least one camera pointing in some direction, or can support an external camera being connected to it.

(Inherited from PackageManager)
FeatureCameraAutofocus FeatureCameraAutofocus

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device's camera supports auto-focus.

(Inherited from PackageManager)
FeatureCameraCapabilityManualPostProcessing FeatureCameraCapabilityManualPostProcessing

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): At least one of the cameras on the device supports the Android.Hardware.Camera2.CameraMetadata.REQUEST_AVAILABLE_CAPABILITIES_MANUAL_POST_PROCESSING capability level.

(Inherited from PackageManager)
FeatureCameraCapabilityManualSensor FeatureCameraCapabilityManualSensor

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): At least one of the cameras on the device supports the Android.Hardware.Camera2.CameraMetadata.REQUEST_AVAILABLE_CAPABILITIES_MANUAL_SENSOR capability level.

(Inherited from PackageManager)
FeatureCameraCapabilityRaw FeatureCameraCapabilityRaw

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): At least one of the cameras on the device supports the Android.Hardware.Camera2.CameraMetadata.REQUEST_AVAILABLE_CAPABILITIES_RAW capability level.

(Inherited from PackageManager)
FeatureCameraExternal FeatureCameraExternal

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device can support having an external camera connected to it.

(Inherited from PackageManager)
FeatureCameraFlash FeatureCameraFlash

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device's camera supports flash.

(Inherited from PackageManager)
FeatureCameraFront FeatureCameraFront

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device has a front facing camera.

(Inherited from PackageManager)
FeatureCameraLevelFull FeatureCameraLevelFull

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): At least one of the cameras on the device supports the InfoSupportedHardwareLevel capability level.

(Inherited from PackageManager)
FeatureCompanionDeviceSetup FeatureCompanionDeviceSetup Inherited from PackageManager
FeatureConnectionService FeatureConnectionService

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The Connection Service API is enabled on the device.

(Inherited from PackageManager)
FeatureConsumerIr FeatureConsumerIr

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device is capable of communicating with consumer IR devices.

(Inherited from PackageManager)
FeatureDeviceAdmin FeatureDeviceAdmin

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device supports device policy enforcement via device admins.

(Inherited from PackageManager)
FeatureEmbedded FeatureEmbedded Inherited from PackageManager
FeatureEthernet FeatureEthernet Inherited from PackageManager
FeatureFaketouch FeatureFaketouch

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device does not have a touch screen, but does support touch emulation for basic events.

(Inherited from PackageManager)
FeatureFaketouchMultitouchDistinct FeatureFaketouchMultitouchDistinct

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): 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 FeatureFaketouchMultitouchJazzhand

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): 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 FeatureFingerprint Inherited from PackageManager
FeatureFreeformWindowManagement FeatureFreeformWindowManagement Inherited from PackageManager
FeatureGamepad FeatureGamepad

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): 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)
FeatureHifiSensors FeatureHifiSensors Inherited from PackageManager
FeatureHomeScreen FeatureHomeScreen

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device supports a home screen that is replaceable by third party applications.

(Inherited from PackageManager)
FeatureInputMethods FeatureInputMethods

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device supports adding new input methods implemented with the InputMethodService API.

(Inherited from PackageManager)
FeatureLeanback FeatureLeanback

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device supports leanback UI.

(Inherited from PackageManager)
FeatureLeanbackOnly FeatureLeanbackOnly Inherited from PackageManager
FeatureLiveTv FeatureLiveTv

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device supports live TV and can display contents from TV inputs implemented with the TvInputService API.

(Inherited from PackageManager)
FeatureLiveWallpaper FeatureLiveWallpaper

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device supports live wallpapers.

(Inherited from PackageManager)
FeatureLocation FeatureLocation

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device supports one or more methods of reporting current location.

(Inherited from PackageManager)
FeatureLocationGps FeatureLocationGps

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device has a Global Positioning System receiver and can report precise location.

(Inherited from PackageManager)
FeatureLocationNetwork FeatureLocationNetwork

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device can report location with coarse accuracy using a network-based geolocation system.

(Inherited from PackageManager)
FeatureManagedUsers FeatureManagedUsers

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device supports creating secondary users and managed profiles via DevicePolicyManager.

(Inherited from PackageManager)
FeatureMicrophone FeatureMicrophone

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device can record audio via a microphone.

(Inherited from PackageManager)
FeatureMidi FeatureMidi Inherited from PackageManager
FeatureNfc FeatureNfc

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device can communicate using Near-Field Communications (NFC).

(Inherited from PackageManager)
FeatureNfcHostCardEmulation FeatureNfcHostCardEmulation

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device supports host- based NFC card emulation.

(Inherited from PackageManager)
FeatureNfcHostCardEmulationNfcf FeatureNfcHostCardEmulationNfcf Inherited from PackageManager
FeatureOpenglesExtensionPack FeatureOpenglesExtensionPack

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device supports the OpenGL ES .

(Inherited from PackageManager)
FeaturePc FeaturePc Inherited from PackageManager
FeaturePictureInPicture FeaturePictureInPicture Inherited from PackageManager
FeaturePrinting FeaturePrinting

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device supports printing.

(Inherited from PackageManager)
FeatureRamLow FeatureRamLow Inherited from PackageManager
FeatureRamNormal FeatureRamNormal Inherited from PackageManager
FeatureScreenLandscape FeatureScreenLandscape

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device supports landscape orientation screens.

(Inherited from PackageManager)
FeatureScreenPortrait FeatureScreenPortrait

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device supports portrait orientation screens.

(Inherited from PackageManager)
FeatureSecurelyRemovesUsers FeatureSecurelyRemovesUsers

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device supports secure removal of users.

(Inherited from PackageManager)
FeatureSensorAccelerometer FeatureSensorAccelerometer

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device includes an accelerometer.

(Inherited from PackageManager)
FeatureSensorAmbientTemperature FeatureSensorAmbientTemperature

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device includes an ambient temperature sensor.

(Inherited from PackageManager)
FeatureSensorBarometer FeatureSensorBarometer

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device includes a barometer (air pressure sensor.

(Inherited from PackageManager)
FeatureSensorCompass FeatureSensorCompass

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device includes a magnetometer (compass).

(Inherited from PackageManager)
FeatureSensorGyroscope FeatureSensorGyroscope

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device includes a gyroscope.

(Inherited from PackageManager)
FeatureSensorHeartRate FeatureSensorHeartRate

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device includes a heart rate monitor.

(Inherited from PackageManager)
FeatureSensorHeartRateEcg FeatureSensorHeartRateEcg

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The heart rate sensor on this device is an Electrocargiogram.

(Inherited from PackageManager)
FeatureSensorLight FeatureSensorLight

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device includes a light sensor.

(Inherited from PackageManager)
FeatureSensorProximity FeatureSensorProximity

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device includes a proximity sensor.

(Inherited from PackageManager)
FeatureSensorRelativeHumidity FeatureSensorRelativeHumidity

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device includes a relative humidity sensor.

(Inherited from PackageManager)
FeatureSensorStepCounter FeatureSensorStepCounter

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device includes a hardware step counter.

(Inherited from PackageManager)
FeatureSensorStepDetector FeatureSensorStepDetector

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device includes a hardware step detector.

(Inherited from PackageManager)
FeatureSip FeatureSip

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The SIP API is enabled on the device.

(Inherited from PackageManager)
FeatureSipVoip FeatureSipVoip

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device supports SIP-based VOIP.

(Inherited from PackageManager)
FeatureTelephony FeatureTelephony

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device has a telephony radio with data communication support.

(Inherited from PackageManager)
FeatureTelephonyCdma FeatureTelephonyCdma

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device has a CDMA telephony stack.

(Inherited from PackageManager)
FeatureTelephonyGsm FeatureTelephonyGsm

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device has a GSM telephony stack.

(Inherited from PackageManager)
FeatureTelevision FeatureTelevision

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): This is a device dedicated to showing UI on a television.

(Inherited from PackageManager)
FeatureTouchscreen FeatureTouchscreen

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device's display has a touch screen.

(Inherited from PackageManager)
FeatureTouchscreenMultitouch FeatureTouchscreenMultitouch

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device's touch screen supports multitouch sufficient for basic two-finger gesture detection.

(Inherited from PackageManager)
FeatureTouchscreenMultitouchDistinct FeatureTouchscreenMultitouchDistinct

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device's touch screen is capable of tracking two or more fingers fully independently.

(Inherited from PackageManager)
FeatureTouchscreenMultitouchJazzhand FeatureTouchscreenMultitouchJazzhand

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): 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 FeatureUsbAccessory

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device supports connecting to USB accessories.

(Inherited from PackageManager)
FeatureUsbHost FeatureUsbHost

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device supports connecting to USB devices as the USB host.

(Inherited from PackageManager)
FeatureVerifiedBoot FeatureVerifiedBoot

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device supports verified boot.

(Inherited from PackageManager)
FeatureVrHeadtracking FeatureVrHeadtracking Inherited from PackageManager
FeatureVrMode FeatureVrMode Inherited from PackageManager
FeatureVrModeHighPerformance FeatureVrModeHighPerformance Inherited from PackageManager
FeatureVulkanHardwareCompute FeatureVulkanHardwareCompute Inherited from PackageManager
FeatureVulkanHardwareLevel FeatureVulkanHardwareLevel Inherited from PackageManager
FeatureVulkanHardwareVersion FeatureVulkanHardwareVersion Inherited from PackageManager
FeatureWatch FeatureWatch

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): This is a device dedicated to showing UI on a watch.

(Inherited from PackageManager)
FeatureWebview FeatureWebview

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device has a full implementation of the android.webkit.

(Inherited from PackageManager)
FeatureWifi FeatureWifi

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device supports WiFi (802.11) networking.

(Inherited from PackageManager)
FeatureWifiAware FeatureWifiAware Inherited from PackageManager
FeatureWifiDirect FeatureWifiDirect

Feature for GetSystemAvailableFeatures() and HasSystemFeature(String): The device supports Wi-Fi Direct networking.

(Inherited from PackageManager)
FeatureWifiPasspoint FeatureWifiPasspoint Inherited from PackageManager
MaximumVerificationTimeout MaximumVerificationTimeout Inherited from PackageManager
VerificationAllow VerificationAllow

Used as the verificationCode argument for VerifyPendingInstall(Int32, PackageInstallVerification) to indicate that the calling package verifier allows the installation to proceed.

(Inherited from PackageManager)
VerificationReject VerificationReject

Used as the verificationCode argument for VerifyPendingInstall(Int32, PackageInstallVerification) to indicate the calling package verifier does not vote to allow the installation to proceed.

(Inherited from PackageManager)
VersionCodeHighest VersionCodeHighest Inherited from PackageManager

Explicit Interface Implementations

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

Extension Methods

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable) GetJniTypeName(IJavaPeerable)

Applies to