Code example for LocationClient

Methods: removeGeofences

0
    } 
 
    private void removeGeofences() 
    { 
        Log.d(LOGGER_TAG, "Removing geofences.");
        mLocationClient.removeGeofences(mNextOperationClients, this);
    } 
 
    @Override 
    public void onConnected(Bundle bundle)
    { 
        Log.d(LOGGER_TAG, "Google Play location services connected.");
 
        switch (mNextOperation)
        { 
        case ADD:
            addGeofences(); 
            break; 
 
        case REMOVE:
            removeGeofences();