# PlacePhotoMetadataResult

public class **PlacePhotoMetadataResult** extends [Object](https://developer.android.com/reference/java/lang/Object.html)  
implements [Parcelable](https://developer.android.com/reference/android/os/Parcelable.html) [Result](https://developers.google.com/android/reference/com/google/android/gms/common/api/Result) **This class is deprecated.**   

**The Google Play Services Places SDK is deprecated.** A new SDK is available.
See the [client
migration guide](https://developers.google.com/places/android-sdk/client-migration) for more information.

Represents the result of a `https://developers.google.com/android/reference/com/google/android/gms/location/places/GeoDataApi#getPlacePhotos(com.google.android.gms.common.api.GoogleApiClient, java.lang.String)` request.

### Inherited Constant Summary

From interface android.os.Parcelable

|---|---|---|
| int | CONTENTS_FILE_DESCRIPTOR |   |
| int | PARCELABLE_WRITE_RETURN_VALUE |   |

### Field Summary

|---|---|---|
| public static final [Creator](https://developer.android.com/reference/android/os/Parcelable.Creator.html)\<[PlacePhotoMetadataResult](https://developers.google.com/android/reference/com/google/android/gms/location/places/PlacePhotoMetadataResult)\> | [CREATOR](https://developers.google.com/android/reference/com/google/android/gms/location/places/PlacePhotoMetadataResult#CREATOR) |   |

### Public Method Summary

|---|---|
| [PlacePhotoMetadataBuffer](https://developers.google.com/android/reference/com/google/android/gms/location/places/PlacePhotoMetadataBuffer) | [getPhotoMetadata](https://developers.google.com/android/reference/com/google/android/gms/location/places/PlacePhotoMetadataResult#getPhotoMetadata())() Returns the photo metadata retrieved by the request. |
| [Status](https://developers.google.com/android/reference/com/google/android/gms/common/api/Status) | [getStatus](https://developers.google.com/android/reference/com/google/android/gms/location/places/PlacePhotoMetadataResult#getStatus())() |

### Inherited Method Summary

From class java.lang.Object

|---|---|
| [Object](https://developer.android.com/reference/java/lang/Object.html) | clone() |
| boolean | equals([Object](https://developer.android.com/reference/java/lang/Object.html) arg0) |
| void | finalize() |
| final [Class](https://developer.android.com/reference/java/lang/Class.html)\<?\> | getClass() |
| int | hashCode() |
| final void | notify() |
| final void | notifyAll() |
| [String](https://developer.android.com/reference/java/lang/String.html) | toString() |
| final void | wait(long arg0, int arg1) |
| final void | wait(long arg0) |
| final void | wait() |

From interface android.os.Parcelable

|---|---|
| abstract int | describeContents() |
| abstract void | writeToParcel([Parcel](https://developer.android.com/reference/android/os/Parcel.html) arg0, int arg1) |

From interface com.google.android.gms.common.api.Result

|---|---|
| abstract [Status](https://developers.google.com/android/reference/com/google/android/gms/common/api/Status) | getStatus() |

## Fields

#### public static final [Creator](https://developer.android.com/reference/android/os/Parcelable.Creator.html)\<[PlacePhotoMetadataResult](https://developers.google.com/android/reference/com/google/android/gms/location/places/PlacePhotoMetadataResult)\>
**CREATOR**

## Public Methods

#### public [PlacePhotoMetadataBuffer](https://developers.google.com/android/reference/com/google/android/gms/location/places/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](https://developers.google.com/android/reference/com/google/android/gms/common/api/Status)
**getStatus** ()