I really have to find a way to use or find something to replace the crossed line which is FusedLocationApi
I wish you could give me an answer
public void onConnected(@Nullable Bundle bundle) {
locationRequest = new LocationRequest;
locationRequest.setInterval(1000);
locationRequest.setFastestInterval(1000);
locationRequest.setPriority(LocationRequest.PRIORITY_BALANCED_POWER_ACCURACY);
if(ContextCompat.checkSelfPermission(this,Manifest.permission.ACCESS_FINE_LOCATION==PackageManager.PERMISSION_GRANTED){
LocationServices.FusedLocationApi.requestLocationUpdates(client,locationRequest,this);
}
}