public class PMLocationDetector
extends java.lang.Object
| Constructor and Description |
|---|
PMLocationDetector(android.content.Context context) |
| Modifier and Type | Method and Description |
|---|---|
android.location.Location |
getLocation()
Method is used to get location on the basic of LocationProvider(GPS, Network)
|
void |
setLocationUpdateIntervalInMs(long locationUpdateIntervalInMs)
Method to set update time interval
|
public void setLocationUpdateIntervalInMs(long locationUpdateIntervalInMs)
locationUpdateIntervalInMs - time interval to get locationpublic android.location.Location getLocation()