package CRSDK;

@SuppressWarnings("unused")
public enum CrFocusFrameType {
    CrFocusFrameType_Unknown (0x0000),
    CrFocusFrameType_PhaseDetection_AFSensor (0x0001),
    CrFocusFrameType_PhaseDetection_ImageSensor (CrFocusFrameType_PhaseDetection_AFSensor.getValue()+1),
    CrFocusFrameType_Wide (CrFocusFrameType_PhaseDetection_AFSensor.getValue()+2),
    CrFocusFrameType_Zone (CrFocusFrameType_PhaseDetection_AFSensor.getValue()+3),
    CrFocusFrameType_CentralEmphasis (CrFocusFrameType_PhaseDetection_AFSensor.getValue()+4),
    CrFocusFrameType_ContrastFlexibleMain (CrFocusFrameType_PhaseDetection_AFSensor.getValue()+5),
    CrFocusFrameType_ContrastFlexibleAssist (CrFocusFrameType_PhaseDetection_AFSensor.getValue()+6),
    CrFocusFrameType_Contrast (CrFocusFrameType_PhaseDetection_AFSensor.getValue()+7),
    CrFocusFrameType_FrameSomewhere (0x000F);

    private final CrInt16u value;
    CrFocusFrameType(int value) {
        this.value = new CrInt16u(value);
    }
    public int getValue() {
        return value.intValue();
    }
}
