Code example for LocationClient

Methods: removeGeofences

0
					mTransitionPendingIntent = getTransitionPendingIntent();
				 // Send a request to add the current geofences 
				     mLocationClient.addGeofences(mCurrentGeofences, mTransitionPendingIntent, this);
				     break; 
				case REMOVE_INTENT :
				     mLocationClient.removeGeofences( mGeofenceRequestIntent, this);
				     break; 
				case REMOVE_LIST:
					mLocationClient.removeGeofences( mGeofencesToRemove, this);
					break; 
				default: 
					break; 
			} 
	} 
 
	@Override 
	public void onDisconnected() { 
		// Turn off the request flag 
		mInProgress = false;
		// Destroy the current location client 
Contextual code suggestions in your IDE  Get Codota for Java