LayerAPI.getCurrentClassifType

 

int getCurrentClassifType()

This method returns an integer value of 0, 1, or 2 which indicates NONE, UNIQUE, or RANGE as the current classification type for the layer.  (See doUniqueClassification, doRangeClassification, and declassify.)