Created
October 24, 2018 05:25
-
-
Save DanishAmjad12/584e69a03b6f6ea57562af894c1f924f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LocationRequest locationRequest = LocationRequest.create(); | |
locationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY); | |
locationRequest.setInterval(10000); | |
locationRequest.setFastestInterval(10000 / 2); | |
LocationSettingsRequest.Builder builder = new LocationSettingsRequest.Builder().addLocationRequest(locationRequest); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment