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
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 Details
-
Place
Creates a Place with the specified coordinates.- Parameters:
coordinates
- The coordinates.
-
-
Method Details
-
getType
- Returns:
- The place type.
-
setType
- 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
- Returns:
- The place coordinates.
-
setCoordinates
- Parameters:
coordinates
- The place coordinates.
-
getAddress
- Returns:
- The place address.
-
setAddress
- 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.
-
getPoiData
- Returns:
- Additional POI data represented by
PoiData
.
-
setPoiData
- Parameters:
poiData
- Additional POI data represented byPoiData
.
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-