Package-level declarations

Types

Link copied to clipboard
data class AntiFeature(repoId: Long, id: String, val icon: LocalizedFileV2 = emptyMap(), name: LocalizedTextV2, description: LocalizedTextV2 = emptyMap()) : RepoAttribute

An anti-feature belonging to a Repository.

Link copied to clipboard
data class App : MinimalApp

A class to represent all data of an App. It combines the metadata and localized filed such as icons and screenshots.

Link copied to clipboard
interface AppDao
Link copied to clipboard
data class AppListItem : MinimalApp

Similar to AppOverviewItem, this is a lightweight version of App meant to show a list of apps.

Link copied to clipboard
Link copied to clipboard
data class AppManifest(val versionName: String, val versionCode: Long, val usesSdk: UsesSdkV2? = null, val maxSdkVersion: Int? = null, val signer: SignerV2? = null, val nativecode: List<String>? = emptyList(), val features: List<String>? = emptyList()) : PackageManifest

The manifest information of an AppVersion.

Link copied to clipboard
data class AppMetadata(val repoId: Long, val packageName: String, val added: Long, val lastUpdated: Long, val name: LocalizedTextV2? = null, val summary: LocalizedTextV2? = null, val description: LocalizedTextV2? = null, val localizedName: String? = null, val localizedSummary: String? = null, val webSite: String? = null, val changelog: String? = null, val license: String? = null, val sourceCode: String? = null, val issueTracker: String? = null, val translation: String? = null, val preferredSigner: String? = null, val video: LocalizedTextV2? = null, val authorName: String? = null, val authorEmail: String? = null, val authorWebSite: String? = null, val authorPhone: String? = null, val donate: List<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 categories: List<String>? = null, val isCompatible: Boolean)

The detailed metadata for an app. Almost all fields are optional. This largely represents MetadataV2 in a database table.

Link copied to clipboard

A lightweight variant of App with minimal data, usually used to provide an overview of apps without going into all details that get presented on a dedicated screen. The reduced data footprint helps with fast loading many items at once.

Link copied to clipboard
data class AppPrefs(val packageName: String, val ignoreVersionCodeUpdate: Long = 0, val preferredRepoId: Long? = null, appPrefReleaseChannels: List<String>? = null) : PackagePreference

User-defined preferences related to Apps that get stored in the database, so they can be used for queries.

Link copied to clipboard
interface AppPrefsDao
Link copied to clipboard
Link copied to clipboard
data class AppVersion : PackageVersion

A version of an App identified by AppManifest.versionCode and AppManifest.signer.

Link copied to clipboard
data class Category(val repoId: Long, val id: String, val icon: LocalizedFileV2 = emptyMap(), name: LocalizedTextV2, description: LocalizedTextV2 = emptyMap()) : RepoAttribute

A category of apps belonging to a Repository.

Link copied to clipboard
class DbUpdateChecker @JvmOverloads constructor(db: FDroidDatabase, packageManager: PackageManager, compatibilityChecker: CompatibilityChecker = CompatibilityCheckerImpl(packageManager), updateChecker: UpdateChecker = UpdateChecker(compatibilityChecker))
Link copied to clipboard
interface FDroidDatabase

The F-Droid database offering methods to retrieve the various data access objects.

Link copied to clipboard

A database holder using a singleton pattern to ensure that only one database is open at the same time.

Link copied to clipboard
fun interface FDroidFixture

A way to pre-populate the database with a fixture. This can be supplied to FDroidDatabaseHolder.getDb and will then be called when a new database is created.

Link copied to clipboard
data class InitialRepository @JvmOverloads constructor(val name: String, val address: String, val mirrors: List<String> = emptyList(), val description: String, val certificate: String, val version: Long, val enabled: Boolean, val weight: Int = 0)

A reduced version of Repository used to pre-populate the FDroidDatabase.

Link copied to clipboard
interface MinimalApp
Link copied to clipboard
data class NewRepository(val name: LocalizedTextV2, val icon: LocalizedFileV2, val address: String, val formatVersion: IndexFormatVersion?, val certificate: String, val username: String? = null, val password: String? = null)

A reduced version of Repository used to add new repositories.

Link copied to clipboard
data class ReleaseChannel(repoId: Long, id: String, val icon: LocalizedFileV2 = emptyMap(), name: LocalizedTextV2, description: LocalizedTextV2 = emptyMap()) : RepoAttribute

A release-channel for apps belonging to a Repository.

Link copied to clipboard
abstract class RepoAttribute

An attribute belonging to a Repository.

Link copied to clipboard
data class Repository
Link copied to clipboard
interface RepositoryDao
Link copied to clipboard

An app that has an update available. It is meant to display available updates in the UI.

Link copied to clipboard
interface VersionDao

Properties

Link copied to clipboard