Contributor
data class Contributor(val localizedName: LocalizedString, val localizedSortAs: LocalizedString? = null, val identifier: String? = null, val roles: Set<String> = emptySet(), val position: Double? = null, val links: List<Link> = emptyList()) : JSONable, Parcelable
Contributor Object for the Readium Web Publication Manifest. https://readium.org/webpub-manifest/schema/contributor-object.schema.json
Parameters
localizedName
The name of the contributor.
localizedSortAs
The string used to sort the name of the contributor.
identifier
An unambiguous reference to this contributor.
roles
The roles of the contributor in the publication making.
position
The position of the publication in this collection/series, when the contributor represents a collection.
links
Used to retrieve similar publications for the given contributor.
Constructors
Link copied to clipboard
constructor(localizedName: LocalizedString, localizedSortAs: LocalizedString? = null, identifier: String? = null, roles: Set<String> = emptySet(), position: Double? = null, links: List<Link> = emptyList())
Shortcut to create a Contributor using a string as name.
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the default translation string for the localizedName.
Link copied to clipboard
Returns the default translation string for the localizedSortAs.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Serializes a Subject to its RWPM JSON representation.
Link copied to clipboard