delight-im / Android-SimpleLocation

Utility class for easy access to the device location on Android
Apache License 2.0
200 stars 75 forks source link

add getter property for the mPosition #32

Closed khrlimam closed 5 years ago

ocram commented 5 years ago

Thanks!

The getters that access this field are already there:

SimpleLocation#getPosition
SimpleLocation#getLatitude
SimpleLocation#getLongitude
SimpleLocation#getTimestampInMilliseconds
SimpleLocation#getElapsedTimeInNanoseconds
SimpleLocation#getSpeed
SimpleLocation#getAltitude

We don’t expose the field itself directly for reasons of data encapsulation.

khrlimam commented 5 years ago

Ok, so I need to add getAccuracy method to access the Location's accuracy