-
- All Implemented Interfaces:
-
android.os.Parcelable,java.io.Serializable,kotlin.Comparable
@Deprecated(message = "Use `Metadata.effectiveReadingProgression` instead", level = DeprecationLevel.WARNING) public enum ContentLayout extends Enum<ContentLayout> implements Parcelable
The ContentLayout defines how a Publication should be laid out, based on the declared ReadingProgression and its language.
Since ReadingProgression might be declared as AUTO or undefined in the Readium Web Publication Manifest, ContentLayout is useful to determine the actual layout.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classContentLayout.Companion
-
Enum Constant Summary
Enum Constants Enum Constant Description RTLLTRCJK_VERTICALCJK_HORIZONTAL
-
Method Summary
Modifier and Type Method Description final ContentLayoutvalueOf(String value)Returns the enum constant of this type with the specified name. final Array<ContentLayout>values()Returns an array containing the constants of this enum type, in the order they're declared. final StringgetCssId()-
-
Method Detail
-
valueOf
final ContentLayout valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
- Parameters:
value- Identifier for this layout style, shared with ReadiumCSS.
-
values
final Array<ContentLayout> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
-
-
-