public int getDefaultValue ( ) { if ( type == V4L4JConstants . CTRL_TYPE_STRING ) throw new UnsupportedMethod ( "This control is a string control and does not support calls to getDefaultValue()" ) ; if ( type == V4L4JConstants . CTRL_TYPE_LONG ) throw new UnsupportedMethod ( "This control is a long control and does not support calls to getDefaultValue()" ) ; synchronized ( state ) { if ( state . isNotReleased ( ) ) return defaultValue ; else throw new StateException ( "This control has been released and must not be used" ) ; } }
This method returns the default value for this control