public final class ImageMedia extends Media
Place
.Place.getImages()
Media.Type
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDimensionHref(int width,
int height)
Get the HREF to retrieve an image with specific width-height dimensions.
|
java.lang.String |
getId()
Gets the unique identifier for the
Image . |
java.lang.String |
getUrl()
Gets the
String representation of the URL for the source of the
image file. |
UserLink |
getUser()
Gets the details of the
User who contributed the Image . |
int |
hashCode() |
getAttributionText, getSupplier, getType, getVia
public java.lang.String getUrl()
String
representation of the URL for the source of the
image file.public java.lang.String getId()
Image
.
Note: an ID for an Image
is optional, so a call to this method
could return null
.
null
)public UserLink getUser()
User
who contributed the Image
.
Note: user contribution for an Image
is optional, so a call to
this method could return null
.
User
who contributed the Image
(could be
null
)public final java.lang.String getDimensionHref(int width, int height)
width
- The image width.height
- The image height.null
if an image with the specified
dimensions is unavailable.PlaceRequest.addImageDimensions(int, int)