Package com.yandex.mapkit

Class ImageSize

java.lang.Object
    ↳ com.yandex.mapkit.Image.ImageSize

static class ImageSize implements Serializable

Summary

Constructors

Signature and Description

ImageSize(@NonNull java.lang.String size,
          @Nullable java.lang.Integer width,
          @Nullable java.lang.Integer height)

ImageSize()
Use constructor with parameters in your code.

Methods

Type and modifiers

Method and Description

java.lang.String

getSize()

java.lang.Integer

getWidth()
Optional field, can be null.

java.lang.Integer

getHeight()
Optional field, can be null.

void

serialize(com.yandex.runtime.bindings.Archive archive)

Constuctors

ImageSize

ImageSize(@NonNull java.lang.String size,
          @Nullable java.lang.Integer width,
          @Nullable java.lang.Integer height)


ImageSize

ImageSize()

Use constructor with parameters in your code.

This one is for bindings only!


Methods

getSize

@NonNull
java.lang.String getSize()


getWidth

@Nullable
java.lang.Integer getWidth()

Optional field, can be null.


getHeight

@Nullable
java.lang.Integer getHeight()

Optional field, can be null.


serialize

@Override
void serialize(com.yandex.runtime.bindings.Archive archive)