main.com.wisetrack.sdk.pm.AppInfo.kt Maven / Gradle / Ivy
package com.wisetrack.sdk.pm
const val CATEGORY_ACCESSIBILITY = "ACCESSIBILITY"
const val CATEGORY_AUDIO = "AUDIO"
const val CATEGORY_GAME = "GAME"
const val CATEGORY_IMAGE = "IMAGE"
const val CATEGORY_MAPS = "MAPS"
const val CATEGORY_NEWS = "NEWS"
const val CATEGORY_PRODUCTIVITY = "PRODUCTIVITY"
const val CATEGORY_SOCIAL = "SOCIAL"
const val CATEGORY_VIDEO = "VIDEO"
const val CATEGORY_UNDEFINED = "UNDEFINED"
const val AES_TRANSFORMATION = "AES/GCM/NoPadding"
const val INSTALL_LOCATION_AUTO = "AUTO"
const val INSTALL_LOCATION_INTERNAL_ONLY = "INTERNAL_ONLY"
const val INSTALL_LOCATION_PREFER_EXTERNAL = "PREFER_EXTERNAL"
data class AppsInfo(
/**
* label of the app. It's usually the name that appears on the menu.
*/
val label: String,
/**
* The name of this package.
*/
val packageName: String,
/**
* The category of this app.
*/
val category: String?,
/**
* This field was deprecated in API level 28. Use getLongVersionCode() instead, which includes both this and the additional versionCodeMajor attribute.
* The version number of this package, as specified by the tag's versionCode attribute.
*/
val versionCode: Long,
/**
* The version name of this package, as specified by the tag's versionName attribute, or null if there was none.
*/
val versionName: String?,
/**
* The minimum SDK version this application can run on.
*/
val minSdkVersion: Int?,
/**
* The version of the SDK against which the app was compiled
*/
val compileSdkVersion: Int?,
/**
* The minimum SDK version this application targets.
*/
val targetSdkVersion: Int,
/**
* The install location requested by the package. Note that this is the location that the app requests to be installed,
* not where it's installed. Some developers leave this empty, which returns null.
*/
val installLocation: String?,
/**
* The time at which the app was first installed.
*/
val firstInstallTime: Long,
/**
* The time at which the app was last updated.
*/
val lastUpdateTime: Long,
/**
* The shared user ID name of this package, as specified by the tag's sharedUserId attribute.
*/
val sharedUserId: String?,
/**
* When false, indicates that all components within this application are considered disabled, regardless of their individually set enabled status.
*/
val enabled: Boolean,
/**
* The name of the process this application should run in.
*/
val processName: String,
/**
* Array of all tags included under , or null if there were none.
* This corresponds to the tag in Manifest.
*/
val requestedPermissions: List?
)
© 2015 - 2024 Weber Informatics LLC | Privacy Policy