Важно

This feature is available in the Full MapKit SDK version

Package com.yandex.mapkit.search

Class BusinessPhotoObjectMetadata

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

All Superinterfaces:

BaseMetadata

class BusinessPhotoObjectMetadata implements BaseMetadata, Serializable

Snippet for company-related photos (becoming obsolete).

Nested Class Summary

Modifier and Type

Interface

Description

static

Photo

Information about single photos.

Summary

Constructors

Signature and Description

BusinessPhotoObjectMetadata()
Use constructor with parameters in your code.

BusinessPhotoObjectMetadata(int count,
                            @NonNull java.util.List<Photo> photos)

Methods

Type and modifiers

Method and Description

synchronized int

getCount()
Number of photos for the organisation.

synchronized java.util.List<Photo>

getPhotos()
List of photos for the company (usually first three)

void

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

static java.lang.String

getNativeName()

Constuctors

BusinessPhotoObjectMetadata

BusinessPhotoObjectMetadata()

Use constructor with parameters in your code.

This one is for serialization only!


BusinessPhotoObjectMetadata

BusinessPhotoObjectMetadata(int count,
                            @NonNull java.util.List<Photo> photos)


Methods

getCount

int getCount()

Number of photos for the organisation.

(see PhotosManager for details)


getPhotos

@NonNull
java.util.List<Photo> getPhotos()

List of photos for the company (usually first three)


serialize

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


getNativeName

java.lang.String getNativeName()


Предыдущая