Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.

public final class PlaceDetails

  1. Object
  2. 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

placeId String
the provider’s place ID
name String
the display name
address String
the formatted address, may be null
location LatLng
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