-
public class LocationEvent
-
-
Constructor Summary
Constructors Constructor Description LocationEvent(double latitude, double longitude)
-
Method Summary
Modifier and Type Method Description doublegetLatitude()Function to get latitude doublegetLongitude()Function to get longitude List<Address>getGeocoderAddress(Context context)Get list of address by latitude and longitude StringgetAddressLine(Context context)Try to get AddressLine StringgetLocality(Context context)Try to get Locality StringgetPostalCode(Context context)Try to get Postal Code StringgetCountryName(Context context)Try to get CountryName StringgetCityName(Context context)Try to get City Name StringgetStateName(Context context)Try to get State Name -
-
Method Detail
-
getLatitude
double getLatitude()
Function to get latitude
-
getLongitude
double getLongitude()
Function to get longitude
-
getGeocoderAddress
List<Address> getGeocoderAddress(Context context)
Get list of address by latitude and longitude
-
getAddressLine
String getAddressLine(Context context)
Try to get AddressLine
-
getLocality
String getLocality(Context context)
Try to get Locality
-
getPostalCode
String getPostalCode(Context context)
Try to get Postal Code
-
getCountryName
String getCountryName(Context context)
Try to get CountryName
-
getCityName
String getCityName(Context context)
Try to get City Name
-
getStateName
String getStateName(Context context)
Try to get State Name
-
-
-
-