PlacePhotoMetadataResult
Stay organized with collections
Save and categorize content based on your preferences.
Inherited Constant Summary
From interface android.os.Parcelable
int |
CONTENTS_FILE_DESCRIPTOR |
|
int |
PARCELABLE_WRITE_RETURN_VALUE |
|
Inherited Method Summary
From class java.lang.Object
Object
|
clone()
|
boolean |
|
void |
finalize()
|
final Class<?>
|
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String
|
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 arg0,
int arg1)
|
From interface com.google.android.gms.common.api.Result
Public Methods
Returns the photo metadata retrieved by the request.
Returns
- A buffer containing photo metadata, or null if the request was not
successful.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["\u003cp\u003e\u003ccode\u003ePlacePhotoMetadataResult\u003c/code\u003e represents the result of a request for place photos, but it's important to note that the Google Play Services Places SDK and this class are now deprecated.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers should migrate to the new Places SDK and refer to the client migration guide for a smooth transition.\u003c/p\u003e\n"],["\u003cp\u003eThis class provides access to photo metadata retrieved through the \u003ccode\u003egetPhotoMetadata()\u003c/code\u003e method and the status of the request via \u003ccode\u003egetStatus()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIf the request is successful, \u003ccode\u003egetPhotoMetadata()\u003c/code\u003e returns a buffer containing the photo metadata; otherwise, it returns null.\u003c/p\u003e\n"]]],["`PlacePhotoMetadataResult`, now deprecated as part of the deprecated Google Play Services Places SDK, represents the outcome of a photo metadata request. It implements `Parcelable` and `Result`. Key actions include retrieving photo metadata via `getPhotoMetadata()`, which returns a `PlacePhotoMetadataBuffer`, and obtaining the request status using `getStatus()`. A `CREATOR` field is also included for creating `PlacePhotoMetadataResult` objects. Users should use the new SDK as indicated by the client migration guide.\n"],null,["# PlacePhotoMetadataResult\n\npublic class **PlacePhotoMetadataResult** extends [Object](//developer.android.com/reference/java/lang/Object.html) \nimplements [Parcelable](//developer.android.com/reference/android/os/Parcelable.html) [Result](/android/reference/com/google/android/gms/common/api/Result) \n**This class is deprecated.** \n\n**The Google Play Services Places SDK is deprecated.** A new SDK is available.\nSee the [client\nmigration guide](//developers.google.com/places/android-sdk/client-migration) for more information.\n\nRepresents the result of a [getPlacePhotos(GoogleApiClient, String)](/android/reference/com/google/android/gms/location/places/GeoDataApi#getPlacePhotos(com.google.android.gms.common.api.GoogleApiClient, java.lang.String)) request. \n\n### Inherited Constant Summary\n\nFrom interface android.os.Parcelable \n\n|-----|-------------------------------|---|\n| int | CONTENTS_FILE_DESCRIPTOR | |\n| int | PARCELABLE_WRITE_RETURN_VALUE | |\n\n### Field Summary\n\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------|---|\n| public static final [Creator](//developer.android.com/reference/android/os/Parcelable.Creator.html)\\\u003c[PlacePhotoMetadataResult](/android/reference/com/google/android/gms/location/places/PlacePhotoMetadataResult)\\\u003e | [CREATOR](/android/reference/com/google/android/gms/location/places/PlacePhotoMetadataResult#CREATOR) | |\n\n### Public Method Summary\n\n|----------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [PlacePhotoMetadataBuffer](/android/reference/com/google/android/gms/location/places/PlacePhotoMetadataBuffer) | [getPhotoMetadata](/android/reference/com/google/android/gms/location/places/PlacePhotoMetadataResult#getPhotoMetadata())() Returns the photo metadata retrieved by the request. |\n| [Status](/android/reference/com/google/android/gms/common/api/Status) | [getStatus](/android/reference/com/google/android/gms/location/places/PlacePhotoMetadataResult#getStatus())() |\n\n### Inherited Method Summary\n\nFrom class java.lang.Object \n\n|----------------------------------------------------------------------------|--------------------------------------------------------------------------------|\n| [Object](//developer.android.com/reference/java/lang/Object.html) | clone() |\n| boolean | equals([Object](//developer.android.com/reference/java/lang/Object.html) arg0) |\n| void | finalize() |\n| final [Class](//developer.android.com/reference/java/lang/Class.html)\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| [String](//developer.android.com/reference/java/lang/String.html) | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nFrom interface android.os.Parcelable \n\n|---------------|--------------------------------------------------------------------------------------------------|\n| abstract int | describeContents() |\n| abstract void | writeToParcel([Parcel](//developer.android.com/reference/android/os/Parcel.html) arg0, int arg1) |\n\nFrom interface com.google.android.gms.common.api.Result \n\n|--------------------------------------------------------------------------------|-------------|\n| abstract [Status](/android/reference/com/google/android/gms/common/api/Status) | getStatus() |\n\nFields\n------\n\n#### public static final [Creator](//developer.android.com/reference/android/os/Parcelable.Creator.html)\\\u003c[PlacePhotoMetadataResult](/android/reference/com/google/android/gms/location/places/PlacePhotoMetadataResult)\\\u003e\n**CREATOR**\n\nPublic Methods\n--------------\n\n#### public [PlacePhotoMetadataBuffer](/android/reference/com/google/android/gms/location/places/PlacePhotoMetadataBuffer)\n**getPhotoMetadata** ()\n\nReturns the photo metadata retrieved by the request. \n\n##### Returns\n\n- A buffer containing photo metadata, or null if the request was not successful. \n\n#### public [Status](/android/reference/com/google/android/gms/common/api/Status)\n**getStatus** ()"]]