Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void buildLocationRequest() {
- foregroundlocationrequest = new LocationRequest();
- foregroundlocationrequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);
- foregroundlocationrequest.setInterval(1);
- foregroundlocationrequest.setFastestInterval(1);
- foregroundlocationrequest.setNumUpdates(1);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement