Android APIs
public class

PlacePhotoMetadataResult

extends Object
implements Parcelable Result
java.lang.Object
   ↳ com.google.android.gms.location.places.PlacePhotoMetadataResult

Class Overview

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

For a list and description of possible status codes, see PlacesStatusCodes.

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public static final Creator<PlacePhotoMetadataResult> CREATOR
Public Methods
int describeContents()
PlacePhotoMetadataBuffer getPhotoMetadata()
Returns the photo metadata retrieved by the request.
Status getStatus()
Returns the status of this result.
void writeToParcel(Parcel parcel, int flags)
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable
From interface com.google.android.gms.common.api.Result

Fields

public static final Creator<PlacePhotoMetadataResult> CREATOR

Public Methods

public int describeContents ()

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().

public void writeToParcel (Parcel parcel, int flags)