Tdm

data class Tdm(val reservation: Tdm.Reservation, val policy: AbsoluteUrl? = null) : JSONable, Parcelable

Publications can indicate whether they allow third parties to use their content for text and data mining purposes using the TDM Rep protocol, as defined in a W3C Community Group Report.

https://github.com/readium/webpub-manifest/blob/master/schema/metadata.schema.json

Parameters

policy

URL pointing to a TDM Policy set be the rightsholder.

Constructors

Link copied to clipboard
constructor(reservation: Tdm.Reservation, policy: AbsoluteUrl? = null)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
data class Reservation(val value: String) : Parcelable

Properties

Link copied to clipboard
Link copied to clipboard

Functions

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

Serializes the object to its JSON representation.

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