Skip to content

//readium-shared/org.readium.r2.shared.publication.presentation/Presentation/Spread/Companion

Companion

[androidJvm]\ object Companion : MapCompanion<String, Presentation.Spread>

Functions

Name Summary
from [androidJvm]
open fun ~~from~~(key: String?): Presentation.Spread?
get [androidJvm]
open fun get(key: String?): Presentation.Spread?
Returns the element matching the key, or null if not found.
invoke [androidJvm]
open operator fun invoke(key: String?): Presentation.Spread?
Alias to get, to be used like keyMapper("a_key").

Properties

Name Summary
Auto [androidJvm]
val ~~Auto~~: Presentation.Spread
Both [androidJvm]
val ~~Both~~: Presentation.Spread
DEFAULT [androidJvm]
val DEFAULT: Presentation.Spread
Default value for Spread, if not specified.
keys [androidJvm]
val keys: Set<String>
Returns the available keys.
Landscape [androidJvm]
val ~~Landscape~~: Presentation.Spread
None [androidJvm]
val ~~None~~: Presentation.Spread
Portrait [androidJvm]
val ~~Portrait~~: Presentation.Spread