PlacePhotoMetadataResult

public class PlacePhotoMetadataResult extends AbstractSafeParcelable
implements Result

Represents the result of a getPlacePhotos(GoogleApiClient, String) request.

Inherited Constant Summary

Field Summary

public static final Creator<PlacePhotoMetadataResult> CREATOR

Public Method Summary

PlacePhotoMetadataBuffer
getPhotoMetadata()
Returns the photo metadata retrieved by the request.
Status
getStatus()
Returns the status of this result.

Inherited Method Summary

Fields

public static final Creator<PlacePhotoMetadataResult> CREATOR

Public Methods

public PlacePhotoMetadataBuffer getPhotoMetadata ()

Returns the photo metadata retrieved by the request.

Returns
  • A buffer containing photo metadata, or null if the request was not successful.

public Status getStatus ()

Returns the status of this result. Use isSuccess() to determine whether the call was successful, and getStatusCode() to determine what the error cause was.

Certain errors are due to failures that can be resolved by launching a particular intent. The resolution intent is available via getResolution().