public void EnableLocationSensor(/* final */ Context pContext, /* final */ ILocationListener pLocationListener, /* final */ LocationSensorOptions pLocationSensorOptions) { this.mLocationListener = pLocationListener; /* final */ LocationManager locationManager = (LocationManager)pContext.GetSystemService(Context.LocationService); /* final */ String locationProvider = locationManager.GetBestProvider(pLocationSensorOptions, pLocationSensorOptions.isEnabledOnly()); locationManager.RequestLocationUpdates(locationProvider, pLocationSensorOptions.getMinimumTriggerTime(), pLocationSensorOptions.getMinimumTriggerDistance(), this); this.OnLocationChanged(locationManager.GetLastKnownLocation(locationProvider)); }