Важно

This feature is available in the Full MapKit SDK version

Package com.yandex.mapkit.search

Class PhotoLink

java.lang.Object
    ↳ com.yandex.mapkit.search.BusinessPhotoObjectMetadata.Photo.PhotoLink

static class PhotoLink implements Serializable

Photo link details.

Summary

Constructors

Signature and Description

PhotoLink()
Use constructor with parameters in your code.

PhotoLink(@Nullable java.lang.String type,
          @NonNull java.lang.String uri)

Methods

Type and modifiers

Method and Description

synchronized java.lang.String

getType()
Optional link type, for example "panorama".

synchronized java.lang.String

getUri()
Link URI.

void

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

static java.lang.String

getNativeName()

Constuctors

PhotoLink()

Use constructor with parameters in your code.

This one is for serialization only!


PhotoLink

PhotoLink(@Nullable java.lang.String type,
          @NonNull java.lang.String uri)


Methods

getType

@Nullable
java.lang.String getType()

Optional link type, for example "panorama".

Optional field, can be null.


getUri

@NonNull
java.lang.String getUri()

Link URI.


serialize

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


getNativeName

java.lang.String getNativeName()


Следующая