Class ImageDataDescriptor

Package world.mappable.mapkit.images

java.lang.Object
    ↳ world.mappable.mapkit.images.ImageDataDescriptor

class ImageDataDescriptor implements Serializable

Summary

Constructors

Signature and Description

ImageDataDescriptor(@NonNull java.lang.String imageId,
                    @Nullable java.lang.Integer primaryColor,
                    @Nullable java.lang.Integer secondaryColor,
                    @Nullable java.lang.Integer tertiaryColor)

ImageDataDescriptor()
Use constructor with parameters in your code.

Methods

Type and modifiers

Method and Description

java.lang.String

getImageId()

java.lang.Integer

getPrimaryColor()
Optional field, can be null.

java.lang.Integer

getSecondaryColor()
Optional field, can be null.

java.lang.Integer

getTertiaryColor()
Optional field, can be null.

void

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

Constuctors

ImageDataDescriptor

ImageDataDescriptor(@NonNull java.lang.String imageId,
                    @Nullable java.lang.Integer primaryColor,
                    @Nullable java.lang.Integer secondaryColor,
                    @Nullable java.lang.Integer tertiaryColor)


ImageDataDescriptor

ImageDataDescriptor()

Use constructor with parameters in your code.

This one is for bindings only!


Methods

getImageId

@NonNull
java.lang.String getImageId()


getPrimaryColor

@Nullable
java.lang.Integer getPrimaryColor()

Optional field, can be null.


getSecondaryColor

@Nullable
java.lang.Integer getSecondaryColor()

Optional field, can be null.


getTertiaryColor

@Nullable
java.lang.Integer getTertiaryColor()

Optional field, can be null.


serialize

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