Warning

This feature is available in the Full MapKit SDK version

Package world.mappable.mapkit.search

Class EncyclopediaObjectMetadata

java.lang.Object
    ↳ world.mappable.mapkit.search.EncyclopediaObjectMetadata

All Superinterfaces:

BaseMetadata

class EncyclopediaObjectMetadata implements BaseMetadata, Serializable

Snippet with encyclopedia data.

Summary

Constructors

Signature and Description

EncyclopediaObjectMetadata()
Use constructor with parameters in your code.

EncyclopediaObjectMetadata(@Nullable java.lang.String title,
                           @Nullable java.lang.String description,
                           @Nullable Attribution attribution)

Methods

Type and modifiers

Method and Description

synchronized java.lang.String

getTitle()
Encyclopedia article title.

synchronized java.lang.String

getDescription()
Encyclopedia article body.

synchronized Attribution

getAttribution()
Attribution information.

void

serialize(world.mappable.runtime.bindings.Archive archive)

static java.lang.String

getNativeName()

Constuctors

EncyclopediaObjectMetadata

EncyclopediaObjectMetadata()

Use constructor with parameters in your code.

This one is for serialization only!


EncyclopediaObjectMetadata

EncyclopediaObjectMetadata(@Nullable java.lang.String title,
                           @Nullable java.lang.String description,
                           @Nullable Attribution attribution)


Methods

getTitle

@Nullable
java.lang.String getTitle()

Encyclopedia article title.

Optional field, can be null.


getDescription

@Nullable
java.lang.String getDescription()

Encyclopedia article body.

Optional field, can be null.


getAttribution

@Nullable
Attribution getAttribution()

Attribution information.

Optional field, can be null.


serialize

@Override
void serialize(world.mappable.runtime.bindings.Archive archive)


getNativeName

java.lang.String getNativeName()