Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.
public final class PlaceDetails
- Object
- PlaceDetails
The resolved details of a place: its name, address and location.
Constructors
public PlaceDetails(String placeId, String name, String address, LatLng location) | Creates the details. |
Methods
public String getPlaceId() | The provider’s place ID. |
public String getName() | The display name. |
public String getAddress() | The formatted address. |
public LatLng getLocation() | The position of the place. |
Inherited methods
Constructor details
PlaceDetails
public PlaceDetails(String placeId, String name, String address, LatLng location)Creates the details.
Parameters
placeIdString- the provider’s place ID
nameString- the display name
addressString- the formatted address, may be null
locationLatLng- the position, may be null
Method details
getPlaceId
public String getPlaceId()The provider’s place ID.
Returns
the ID
getName
public String getName()The display name.
Returns
the name
getAddress
public String getAddress()The formatted address.
Returns
the address, may be null
getLocation
public LatLng getLocation()The position of the place.
Returns
the location, may be null