Packagecom.distriqt.extension.packagemanager
Classpublic class PackageInfo
InheritancePackageInfo Inheritance Object

Overall information about the contents of a package. This corresponds to all of the information collected from AndroidManifest.xml



Public Properties
 PropertyDefined By
  firstInstallTime : Date
The time at which the app was first installed
PackageInfo
  label : String
The label or name to use for this application
PackageInfo
  lastUpdateTime : Date
The time at which the app was last updated
PackageInfo
  packageName : String
The name of this package.
PackageInfo
  requestedPermissions : Array
Array of all <uses-permission> tags included in the applications manifest, or empty if there were none.
PackageInfo
  versionCode : Number = -1
The version code for the application
PackageInfo
  versionName : String
The version name of this package, as specified by the manifest tag's versionName attribute
PackageInfo
Public Methods
 MethodDefined By
  
PackageInfo
  
fromObject(data:Object):PackageInfo
[static]
PackageInfo
  
toString():String
PackageInfo
Property Detail
firstInstallTimeproperty
public var firstInstallTime:Date

The time at which the app was first installed

labelproperty 
public var label:String

The label or name to use for this application

lastUpdateTimeproperty 
public var lastUpdateTime:Date

The time at which the app was last updated

packageNameproperty 
public var packageName:String

The name of this package.

requestedPermissionsproperty 
public var requestedPermissions:Array

Array of all <uses-permission> tags included in the applications manifest, or empty if there were none. This list includes all permissions requested, even those that were not granted or known by the system at install time.

versionCodeproperty 
public var versionCode:Number = -1

The version code for the application

versionNameproperty 
public var versionName:String

The version name of this package, as specified by the manifest tag's versionName attribute

Constructor Detail
PackageInfo()Constructor
public function PackageInfo()



Method Detail
fromObject()method
public static function fromObject(data:Object):PackageInfo

Parameters

data:Object

Returns
PackageInfo
toString()method 
public function toString():String

Returns
String