Package-level declarations

Types

Link copied to clipboard
data class AppV1(val categories: List<String> = emptyList(), val antiFeatures: List<String> = emptyList(), val summary: String? = null, val description: String? = null, val changelog: String? = null, val translation: String? = null, val issueTracker: String? = null, val sourceCode: String? = null, val binaries: String? = null, val name: String? = null, val authorName: String? = null, val authorEmail: String? = null, val authorWebSite: String? = null, val authorPhone: String? = null, val donate: String? = null, val liberapayID: String? = null, val liberapay: String? = null, val openCollective: String? = null, val bitcoin: String? = null, val litecoin: String? = null, val flattrID: String? = null, val suggestedVersionName: String? = null, val suggestedVersionCode: String? = null, val license: String, val webSite: String? = null, val added: Long? = null, val icon: String? = null, val packageName: String, val lastUpdated: Long? = null, val localized: Map<String, Localized>? = null, val allowedAPKSigningKeys: List<String>? = null)
Link copied to clipboard
data class IndexV1(val repo: RepoV1, val requests: Requests = Requests(emptyList(), emptyList()), val apps: List<AppV1> = emptyList(), val packages: Map<String, List<PackageV1>> = emptyMap())
Link copied to clipboard
class IndexV1Creator(packageManager: PackageManager, repoDir: File, packageNames: Set<String>, repo: RepoV1) : IndexCreator<IndexV1>

Creates a deprecated V1 index from the given packageNames with information obtained from the PackageManager.

Link copied to clipboard
class IndexV1StreamProcessor(indexStreamReceiver: IndexV1StreamReceiver, certificate: String?, lastTimestamp: Long, locale: String = DEFAULT_LOCALE, json: Json = IndexParser.json)

Processes a indexV1 stream and calls the given indexStreamReceiver while parsing it. Attention: This requires the following canonical top-level order in the JSON as produced by fdroidserver.

Link copied to clipboard
Link copied to clipboard
class IndexV1Verifier(jarFile: File, expectedSigningCertificate: String?, expectedSigningFingerprint: String?) : JarIndexVerifier

Verifies the old Index V1.

Link copied to clipboard
data class Localized(val description: String? = null, val name: String? = null, val icon: String? = null, val whatsNew: String? = null, val video: String? = null, val phoneScreenshots: List<String>? = null, val sevenInchScreenshots: List<String>? = null, val tenInchScreenshots: List<String>? = null, val wearScreenshots: List<String>? = null, val tvScreenshots: List<String>? = null, val featureGraphic: String? = null, val promoGraphic: String? = null, val tvBanner: String? = null, val summary: String? = null)
Link copied to clipboard
class OldIndexException(val isSameTimestamp: Boolean, msg: String) : Exception
Link copied to clipboard
data class PackageV1(val added: Long? = null, val apkName: String, val hash: String, val hashType: String, val minSdkVersion: Int? = null, val maxSdkVersion: Int? = null, val targetSdkVersion: Int? = minSdkVersion, val packageName: String, val sig: String? = null, val signer: String? = null, val size: Long, val srcName: String? = null, val usesPermission: List<PermissionV1> = emptyList(), val usesPermission23: List<PermissionV1> = emptyList(), val versionCode: Long? = null, val versionName: String, val nativeCode: List<String>? = null, val features: List<String>? = null, val antiFeatures: List<String>? = null)
Link copied to clipboard
data class PermissionV1(val name: String, val maxSdk: Int? = null)
Link copied to clipboard
data class RepoV1(val timestamp: Long, val version: Int, val maxAge: Int? = null, val name: String, val icon: String, val address: String, val description: String, val mirrors: List<String> = emptyList())
Link copied to clipboard
data class Requests(val install: List<String>, val uninstall: List<String>)

Properties

Link copied to clipboard