-
public class LocationInfo
-
-
Field Summary
Fields Modifier and Type Field Description String
country
String
province
String
city
String
district
String
township
String
neighorhood
String
address
double
lat
double
lng
int
geoFenceRadius
String
geoFenceId
public final static Creator<LocationInfo>
CREATOR
-
Constructor Summary
Constructors Constructor Description LocationInfo()
Constructor
-
Method Summary
Modifier and Type Method Description String
getCountry()
get country info void
setCountry(String country)
set country info String
getProvince()
get province info void
setProvince(String province)
set province info String
getCity()
set city info void
setCity(String city)
set city info String
getDistrict()
get district info void
setDistrict(String district)
set district info String
getTownship()
get township info void
setTownship(String township)
set township info String
getNeighorhood()
get neighborhood info void
setNeighorhood(String neighorhood)
set neighborhood info String
getAddress()
get address info void
setAddress(String address)
set address info double
getLat()
get latitude info void
setLat(double lat)
set latitude info double
getLng()
get longitude info void
setLng(double lng)
set longitude info int
getGeoFenceRadius()
get geoFence radius void
setGeoFenceRadius(int geoFenceRadius)
set geoFence radius String
getGeoFenceId()
get geoFence Id void
setGeoFenceId(String geoFenceId)
set geoFence Id int
describeContents()
Describe the kinds of special objects contained in this Parcelable instance's marshaled representation void
writeToParcel(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
-
-
-
-