Back to project page android-async-google-places.
The source code is released under:
Apache License
If you think the Android project android-async-google-places listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package io.github.axxiss.places.request; // w w w . jav a2 s . co m import io.github.axxiss.places.enums.Params; /** * Once you have a reference from a Place Search, you can request more details about a particular * establishment or point of interest by initiating a Place Details request. A Place Details request * returns more comprehensive information about the indicated place such as its complete address, * phone number, user rating and reviews. * * @author Axxiss */ public class PlaceDetails { private static final String DETAILS = "details"; PlaceParams params = new PlaceParams(); /** * Build a Places detail request. * * @param reference place's reference * @return */ public PlaceDetails(final String reference) { params.put(Params.Reference, reference); } public PlaceDetails setExtensions(String extensions) { params.put(Params.Extensions, extensions); return this; } public PlaceDetails setLanguage(String language) { params.put(Params.Language, language); return this; } }