Android SDK Version
  • java.lang.Object
    • com.facebook.places.model.PlaceInfoRequestParams.Builder
Enclosing class:

public static class PlaceInfoRequestParams.Builder
extends java.lang.Object
Describes the builder to create a PlaceInfoRequestParams.
Constructor Summary
Constructor and Description
Builder() 
Method Summary
Modifier and TypeMethod and Description
PlaceInfoRequestParams.BuilderaddField(java.lang.String field)
Add a field to be returned in the response data.
PlaceInfoRequestParams.BuilderaddFields(java.lang.String[] fields)
Add a list of fields to be returned in the response data.
PlaceInfoRequestParamsbuild()
PlaceInfoRequestParams.BuildersetPlaceId(java.lang.String placeId)
Sets the ID of the place to be queried.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail

Builder

public Builder()
Method Detail

setPlaceId

public PlaceInfoRequestParams.Builder setPlaceId(java.lang.String placeId)
Sets the ID of the place to be queried.
Parameters:
placeId - the ID of the place to be queried.
Returns:
the builder.

addField

public PlaceInfoRequestParams.Builder addField(java.lang.String field)
Add a field to be returned in the response data. See PlaceFields for a list of known fields. Refer to the online Places Graph documentation for an up to date list of fields.
Parameters:
field - The field to be added to the list of fields to be returned.
Returns:
The builder.

addFields

public PlaceInfoRequestParams.Builder addFields(java.lang.String[] fields)
Add a list of fields to be returned in the response data. See PlaceFields for a list of known fields. Refer to the online Places Graph documentation for an up to date list of fields.
Parameters:
fields - The list of fields to be returned in the response data.
Returns:
The builder.

build

public PlaceInfoRequestParams build()