public int getGeoPerms() throws FlickrException {
        Map<String, Object> parameters = new HashMap<String, Object>();
        parameters.put("method", METHOD_GET_GEO_PERMS);

        Response response = transportAPI.get(transportAPI.getPath(), parameters, apiKey, sharedSecret);
        if (response.isError()) {
            throw new FlickrException(response.getErrorCode(), response.getErrorMessage());
        }

        int perm = -1;
        Element personElement = response.getPayload();
        String geoPerms = personElement.getAttribute("geoperms");
        try {
            perm = Integer.parseInt(geoPerms);
        } catch (NumberFormatException e) {
            throw new FlickrException("0", "Unable to parse geoPermission");
        }
        return perm;
    }
public int getGeoPerms ( ) throws FlickrException { Map < String , Object > parameters = new HashMap < String , Object > ( ) ; parameters . put ( "method" , METHOD_GET_GEO_PERMS ) ; Response response = transportAPI . get ( transportAPI . getPath ( ) , parameters , apiKey , sharedSecret ) ; if ( response . isError ( ) ) { throw new FlickrException ( response . getErrorCode ( ) , response . getErrorMessage ( ) ) ; } int perm = - 1 ; Element personElement = response . getPayload ( ) ; String geoPerms = personElement . getAttribute ( "geoperms" ) ; try { perm = Integer . parseInt ( geoPerms ) ; } catch ( NumberFormatException e ) { throw new FlickrException ( "0" , "Unable to parse geoPermission" ) ; } return perm ; }
Returns the default privacy level for geographic information attached to the user's photos.

@return privacy-level
@throws FlickrException
@see com.flickr4java.flickr.Flickr#PRIVACY_LEVEL_NO_FILTER
@see com.flickr4java.flickr.Flickr#PRIVACY_LEVEL_PUBLIC
@see com.flickr4java.flickr.Flickr#PRIVACY_LEVEL_FRIENDS
@see com.flickr4java.flickr.Flickr#PRIVACY_LEVEL_FAMILY
@see com.flickr4java.flickr.Flickr#PRIVACY_LEVEL_FRIENDS_FAMILY
@see com.flickr4java.flickr.Flickr#PRIVACY_LEVEL_PRIVATE