Acquisition

data class Acquisition(val type: String, val children: List<Acquisition> = emptyList()) : JSONable, Parcelable

OPDS Acquisition Object.

https://drafts.opds.io/schema/acquisition-object.schema.json

Constructors

Link copied to clipboard
constructor(type: String, children: List<Acquisition> = emptyList())

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

Media type of the resource to acquire.

Link copied to clipboard

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
open override fun toJSON(): JSONObject

Serializes an Acquisition to its JSON representation.

Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)