Class PackageInfo
public class PackageInfo : Parcelable, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IParcelable
- Inheritance
-
PackageInfo
- Implements
- Inherited Members
- Extension Methods
Constructors
PackageInfo()
public PackageInfo()
PackageInfo(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public PackageInfo(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
CREATOR
public static Parcelable.Creator CREATOR { get; set; }
Property Value
INSTALL_LOCATION_AUTO
public static int INSTALL_LOCATION_AUTO { get; set; }
Property Value
INSTALL_LOCATION_INTERNAL_ONLY
public static int INSTALL_LOCATION_INTERNAL_ONLY { get; set; }
Property Value
INSTALL_LOCATION_PREFER_EXTERNAL
public static int INSTALL_LOCATION_PREFER_EXTERNAL { get; set; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
REQUESTED_PERMISSION_GRANTED
public static int REQUESTED_PERMISSION_GRANTED { get; set; }
Property Value
REQUESTED_PERMISSION_IMPLICIT
public static int REQUESTED_PERMISSION_IMPLICIT { get; set; }
Property Value
REQUESTED_PERMISSION_NEVER_FOR_LOCATION
public static int REQUESTED_PERMISSION_NEVER_FOR_LOCATION { get; set; }
Property Value
activities
public ActivityInfo[] activities { get; set; }
Property Value
applicationInfo
public ApplicationInfo applicationInfo { get; set; }
Property Value
attributions
public Attribution[] attributions { get; set; }
Property Value
baseRevisionCode
public int baseRevisionCode { get; set; }
Property Value
configPreferences
public ConfigurationInfo[] configPreferences { get; set; }
Property Value
featureGroups
public FeatureGroupInfo[] featureGroups { get; set; }
Property Value
firstInstallTime
public long firstInstallTime { get; set; }
Property Value
gids
public int[] gids { get; set; }
Property Value
- int[]
installLocation
public int installLocation { get; set; }
Property Value
instrumentation
public InstrumentationInfo[] instrumentation { get; set; }
Property Value
isApex
public bool isApex { get; set; }
Property Value
lastUpdateTime
public long lastUpdateTime { get; set; }
Property Value
packageName
public String packageName { get; set; }
Property Value
permissions
public PermissionInfo[] permissions { get; set; }
Property Value
providers
public ProviderInfo[] providers { get; set; }
Property Value
receivers
public ActivityInfo[] receivers { get; set; }
Property Value
reqFeatures
public FeatureInfo[] reqFeatures { get; set; }
Property Value
requestedPermissions
public String[] requestedPermissions { get; set; }
Property Value
- String[]
requestedPermissionsFlags
public int[] requestedPermissionsFlags { get; set; }
Property Value
- int[]
services
public ServiceInfo[] services { get; set; }
Property Value
sharedUserId
public String sharedUserId { get; set; }
Property Value
sharedUserLabel
public int sharedUserLabel { get; set; }
Property Value
signatures
[Obsolete("Deprecated in JVM")]
public Signature[] signatures { get; set; }
Property Value
signingInfo
public SigningInfo signingInfo { get; set; }
Property Value
splitNames
public String[] splitNames { get; set; }
Property Value
- String[]
splitRevisionCodes
public int[] splitRevisionCodes { get; set; }
Property Value
- int[]
versionCode
[Obsolete("Deprecated in JVM")]
public int versionCode { get; set; }
Property Value
versionName
public String versionName { get; set; }
Property Value
Methods
CreatePoolableInstance()
HPA initializer for PackageInfo()
public static PackageInfo CreatePoolableInstance()
Returns
DescribeContents()
public int DescribeContents()
Returns
GetApexPackageName()
public String GetApexPackageName()
Returns
GetArchiveTimeMillis()
public long GetArchiveTimeMillis()
Returns
GetLongVersionCode()
public long GetLongVersionCode()
Returns
SetLongVersionCode(long)
https://developer.android.com/reference/android/content/pm/PackageInfo.html#setLongVersionCode(long)
public void SetLongVersionCode(long arg0)
Parameters
WriteToParcel(Parcel, int)
public void WriteToParcel(Parcel arg0, int arg1)