Package com.navmii.sdk.common
Class Place
- java.lang.Object
-
- geolife.android.navigationsystem.internal.NativePointerHolder
-
- com.navmii.sdk.common.Place
-
public final class Place extends geolife.android.navigationsystem.internal.NativePointerHolder
-
-
Constructor Summary
Constructors Constructor Description Place(MapCoordinates coordinates)
Creates a Place with the specified coordinates.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Address
getAddress()
MapCoordinates
getCoordinates()
java.lang.String
getName()
PoiData
getPoiData()
PlaceType
getType()
boolean
isAddressApproximate()
void
setAddress(Address address)
void
setAddressApproximate(boolean isAddressApproximate)
void
setCoordinates(MapCoordinates coordinates)
void
setName(java.lang.String name)
void
setPoiData(PoiData poiData)
void
setType(PlaceType type)
java.lang.String
toString()
-
-
-
Constructor Detail
-
Place
public Place(MapCoordinates coordinates)
Creates a Place with the specified coordinates.- Parameters:
coordinates
- The coordinates.
-
-
Method Detail
-
getType
public PlaceType getType()
- Returns:
- The place type.
-
setType
public void setType(PlaceType type)
- Parameters:
type
- The place type.
-
getName
public java.lang.String getName()
- Returns:
- The place name.
-
setName
public void setName(java.lang.String name)
- Parameters:
name
- The place name.
-
getCoordinates
public MapCoordinates getCoordinates()
- Returns:
- The place coordinates.
-
setCoordinates
public void setCoordinates(MapCoordinates coordinates)
- Parameters:
coordinates
- The place coordinates.
-
getAddress
public Address getAddress()
- Returns:
- The place address.
-
setAddress
public void setAddress(Address address)
- Parameters:
address
- The place address.
-
isAddressApproximate
public boolean isAddressApproximate()
- Returns:
- true if the address is approximated, false otherwise.
-
setAddressApproximate
public void setAddressApproximate(boolean isAddressApproximate)
- Parameters:
isAddressApproximate
- true if the address is approximated, false otherwise.
-
setPoiData
public void setPoiData(PoiData poiData)
- Parameters:
poiData
- Additional POI data represented byPoiData
.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-