-
public class LocationInfo
-
-
Field Summary
Fields Modifier and Type Field Description StringcountryStringprovinceStringcityStringdistrictStringtownshipStringneighorhoodStringaddressdoublelatdoublelngintgeoFenceRadiusStringgeoFenceIdpublic final static Creator<LocationInfo>CREATOR
-
Constructor Summary
Constructors Constructor Description LocationInfo()Constructor
-
Method Summary
Modifier and Type Method Description StringgetCountry()get country info voidsetCountry(String country)set country info StringgetProvince()get province info voidsetProvince(String province)set province info StringgetCity()set city info voidsetCity(String city)set city info StringgetDistrict()get district info voidsetDistrict(String district)set district info StringgetTownship()get township info voidsetTownship(String township)set township info StringgetNeighorhood()get neighborhood info voidsetNeighorhood(String neighorhood)set neighborhood info StringgetAddress()get address info voidsetAddress(String address)set address info doublegetLat()get latitude info voidsetLat(double lat)set latitude info doublegetLng()get longitude info voidsetLng(double lng)set longitude info intgetGeoFenceRadius()get geoFence radius voidsetGeoFenceRadius(int geoFenceRadius)set geoFence radius StringgetGeoFenceId()get geoFence Id voidsetGeoFenceId(String geoFenceId)set geoFence Id intdescribeContents()Describe the kinds of special objects contained in this Parcelable instance's marshaled representation voidwriteToParcel(Parcel dest, int flags)Flatten this object in to a Parcel -
-
Method Detail
-
getCountry
String getCountry()
get country info
-
setCountry
void setCountry(String country)
set country info
- Parameters:
country- country info
-
getProvince
String getProvince()
get province info
-
setProvince
void setProvince(String province)
set province info
- Parameters:
province- province info
-
getCity
String getCity()
set city info
-
setCity
void setCity(String city)
set city info
- Parameters:
city- city info
-
getDistrict
String getDistrict()
get district info
-
setDistrict
void setDistrict(String district)
set district info
- Parameters:
district- district info
-
getTownship
String getTownship()
get township info
-
setTownship
void setTownship(String township)
set township info
- Parameters:
township- township info
-
getNeighorhood
String getNeighorhood()
get neighborhood info
-
setNeighorhood
void setNeighorhood(String neighorhood)
set neighborhood info
- Parameters:
neighorhood- neighborhood info
-
getAddress
String getAddress()
get address info
-
setAddress
void setAddress(String address)
set address info
- Parameters:
address- address info
-
getLat
double getLat()
get latitude info
-
setLat
void setLat(double lat)
set latitude info
- Parameters:
lat- latitude info
-
getLng
double getLng()
get longitude info
-
setLng
void setLng(double lng)
set longitude info
- Parameters:
lng- longitude info
-
getGeoFenceRadius
int getGeoFenceRadius()
get geoFence radius
-
setGeoFenceRadius
void setGeoFenceRadius(int geoFenceRadius)
set geoFence radius
- Parameters:
geoFenceRadius- geoFence radius
-
getGeoFenceId
String getGeoFenceId()
get geoFence Id
-
setGeoFenceId
void setGeoFenceId(String geoFenceId)
set geoFence Id
- Parameters:
geoFenceId- geoFence Id
-
describeContents
int describeContents()
Describe the kinds of special objects contained in this Parcelable instance's marshaled representation
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
Flatten this object in to a Parcel
- Parameters:
dest- The Parcel in which the object should be writtenflags- Additional flags about how the object should be written
-
-
-
-