-
- All Implemented Interfaces:
-
android.os.Parcelable,org.readium.r2.shared.JSONable
public final class LocatorCollection.Metadata implements JSONable, Parcelable
Holds the metadata of a
LocatorCollection.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classLocatorCollection.Metadata.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Stringtitleprivate final LocalizedStringlocalizedTitleprivate final IntegernumberOfItemsprivate final Map<String, Object>otherMetadata
-
Constructor Summary
Constructors Constructor Description LocatorCollection.Metadata(LocalizedString localizedTitle, Integer numberOfItems, Map<String, Object> otherMetadata)
-
Method Summary
Modifier and Type Method Description final StringgetTitle()final LocalizedStringgetLocalizedTitle()final IntegergetNumberOfItems()final Map<String, Object>getOtherMetadata()JSONObjecttoJSON()Serializes the object to its JSON representation. -
-
Constructor Detail
-
LocatorCollection.Metadata
LocatorCollection.Metadata(LocalizedString localizedTitle, Integer numberOfItems, Map<String, Object> otherMetadata)
- Parameters:
numberOfItems- Indicates the total number of locators in the collection.
-
-
Method Detail
-
getLocalizedTitle
final LocalizedString getLocalizedTitle()
-
getNumberOfItems
final Integer getNumberOfItems()
-
getOtherMetadata
final Map<String, Object> getOtherMetadata()
-
toJSON
JSONObject toJSON()
Serializes the object to its JSON representation.
-
-
-
-