Subject

constructor(localizedName: LocalizedString, localizedSortAs: LocalizedString? = null, scheme: String? = null, code: String? = null, links: List<Link> = emptyList())

Parameters

localizedSortAs

Provides a string that a machine can sort.

scheme

EPUB 3.1 opf:authority.

code

EPUB 3.1 opf:term.

links

Used to retrieve similar publications for the given subjects.


constructor(name: String)

Shortcut to create a Subject using a string as name.