Is there a method that tells you about the location change on Android, such as iOS location manager.distanceFilter?

Asked 2 years ago, Updated 2 years ago, 21 views

Is there a method that tells you about the location change on Android, such as iOS location manager.distanceFilter?

android

2022-09-21 16:53

1 Answers

Similar processing can be done through Location Manager on Android.

void requestLocationUpdates (String provider, 
                long minTime, 
                float minDistance, 
                LocationListener listener)

Please refer to the document below for more information.


2022-09-21 16:53

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.