Важно
This feature is available in the Full MapKit SDK version
Package com.yandex.mapkit.search
Class Photo
java.lang.Object
↳ com.yandex.mapkit.search.BusinessPhotoObjectMetadata.Photo
static class Photo implements Serializable
Information about single photos.
Nested Class Summary
Modifier and Type |
Interface |
Description |
|
Photo link details. |
Summary
Constructors
Signature and Description |
Photo() |
Photo(@NonNull java.lang.String id, |
Methods
Type and modifiers |
Method and Description |
|
getId() |
|
getLinks() |
void |
serialize(com.yandex.runtime.bindings.Archive archive) |
|
Constuctors
Photo
Photo() |
Use constructor with parameters in your code.
This one is for serialization only!
Photo
Photo(@NonNull java.lang.String id, |
Methods
getId
@NonNull |
To get a valid download link use the value of id + /[size], where [size] is one of: 1.
XXXS 2. XXS 3. XS 4. S 5. M 6. L 7. XL 8. XXL 9. XXXL 10. orig
getLinks
@NonNull |
Photo links.
serialize
@Override |
getNativeName
java.lang.String getNativeName() |