PlacePhotoMetadata

public interface PlacePhotoMetadata implements Freezable<PlacePhotoMetadata>

The metadata corresponding to a single photo associated with a place.

Public Method Summary

abstract CharSequence
getAttributions()
Returns the attributions that must be shown to the user if this photo is displayed.
abstract int
getMaxHeight()
Returns the maximum height in which this photo is available.
abstract int
getMaxWidth()
Returns the maximum width in which this photo is available.

Inherited Method Summary

Public Methods

public abstract CharSequence getAttributions ()

Returns the attributions that must be shown to the user if this photo is displayed.

See Displaying Attributions for more details.

Returns
  • The attributions in HTML format, or null if there are none.

public abstract int getMaxHeight ()

Returns the maximum height in which this photo is available.

Returns
  • The maximum height in pixels.

public abstract int getMaxWidth ()

Returns the maximum width in which this photo is available.

Returns
  • The maximum width in pixels.

Kirim masukan tentang...

Places SDK for Android