Code example for LocationClient

Methods: addGeofences

		switch (mRequestType) {
		case ADD:
			// Get the PendingIntent for the request 
			mTransitionPendingIntent = getTransitionPendingIntent();
			// Send a request to add the current geofences 
					mGeofenceRequestIntent, this);
	public void onDisconnected() { 
		// Turn off the request flag 
		mInProgress = false;
		// Destroy the current location client 
		mLocationClient = null;
	 * Start a request for geofence monitoring by calling 
Experience pair programming with AI  Get Codota for Java