Metadata

data class Metadata(val localizedTitle: LocalizedString? = null, val numberOfItems: Int? = null, val otherMetadata: Map<String, Any> = mapOf()) : JSONable, Parcelable

Holds the metadata of a LocatorCollection.

Parameters

numberOfItems

Indicates the total number of locators in the collection.

Constructors

Link copied to clipboard
constructor(localizedTitle: LocalizedString? = null, numberOfItems: Int? = null, otherMetadata: Map<String, Any> = mapOf())

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Returns the default translation string for the localizedTitle.

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
open override fun toJSON(): JSONObject

Serializes the object to its JSON representation.

Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)