geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureTableStyles.java
public FeatureStyle getFeatureStyle(long featureId,
                                        GeometryType geometryType) {

        FeatureStyle featureStyle = null;

        StyleRow style = getStyle(featureId, geometryType);
        IconRow icon = getIcon(featureId, geometryType);

        if (style != null || icon != null) {
            featureStyle = new FeatureStyle(style, icon);
        }

        return featureStyle;
    }
public FeatureStyle getFeatureStyle(long featureId,
                                        GeometryType geometryType) {

        FeatureStyle featureStyle = null;

        StyleRow style = getStyle(featureId, geometryType);
        IconRow icon = getIcon(featureId, geometryType);

        if (style != null || icon != null) {
            featureStyle = new FeatureStyle(style, icon);
        }

        return featureStyle;
    }
Get the feature style (style and icon) of the feature, searching in
order: feature geometry type style or icon, feature default style or
icon, table geometry type style or icon, table default style or icon

@param featureId    feature id
@param geometryType geometry type
@return feature style