(function(f,c,d){var b="Rho.Sensor";var a=d.apiReqFor(b);function e(){var g=null;this.getId=function(){return g};if(1==arguments.length&&arguments[0][d.rhoIdParam()]){if(b!=arguments[0][d.rhoClassParam()]){throw"Wrong class instantiation!"}g=arguments[0][d.rhoIdParam()]}else{g=d.nextId()}}d.createPropsProxy(e.prototype,[{propName:"minimumGap",propAccess:"rw"},{propName:"type",propAccess:"r"},{propName:"status",propAccess:"r"}],a,function(){return this.getId()});d.createMethodsProxy(e.prototype,[{methodName:"start",nativeName:"start",persistentCallbackIndex:0,valueCallbackIndex:2},{methodName:"readData",nativeName:"readData",valueCallbackIndex:0},{methodName:"stop",nativeName:"stop",valueCallbackIndex:0},{methodName:"getProperty",nativeName:"getProperty",persistentCallbackIndex:1,valueCallbackIndex:3},{methodName:"getProperties",nativeName:"getProperties",persistentCallbackIndex:1,valueCallbackIndex:3},{methodName:"getAllProperties",nativeName:"getAllProperties",persistentCallbackIndex:0,valueCallbackIndex:2},{methodName:"setProperty",nativeName:"setProperty",valueCallbackIndex:2},{methodName:"setProperties",nativeName:"setProperties",valueCallbackIndex:1}],a,function(){return this.getId()});d.createRawPropsProxy(e.prototype,[]);e.SENSOR_STATUS_ERROR="error";e.SENSOR_STATUS_NOT_READY="not_ready";e.SENSOR_STATUS_READY="ready";e.SENSOR_STATUS_STARTED="started";e.SENSOR_TYPE_ACCELEROMETER="Accelerometer";e.SENSOR_TYPE_AMBIENT_LIGHT="AmbientLight";e.SENSOR_TYPE_DEVICE_ORIENTATION="DeviceOrientation";e.SENSOR_TYPE_ECOMPASS="ECompass";e.SENSOR_TYPE_GRAVITY="Gravity";e.SENSOR_TYPE_GYROSCOPE="Gyroscope";e.SENSOR_TYPE_HUMIDITY="Humidity";e.SENSOR_TYPE_LINEAR_ACCELERATION="LinearAcceleration";e.SENSOR_TYPE_MAGNETOMETER="Magnetometer";e.SENSOR_TYPE_MOTION="Motion";e.SENSOR_TYPE_ORIENTATION="Orientation";e.SENSOR_TYPE_PRESSURE="Pressure";e.SENSOR_TYPE_PROXIMITY="Proximity";e.SENSOR_TYPE_PROXIMITY_LONG_RANGE="ProximityLongRange";e.SENSOR_TYPE_ROTATION="Rotation";e.SENSOR_TYPE_TEMPERATURE="Temperature";e.SENSOR_TYPE_TILT_ANGLE="TiltAngle";d.createPropsProxy(e,[{propName:"proximitySensorType",propAccess:"rw"}],a);d.createMethodsProxy(e,[{methodName:"makeSensorByType",nativeName:"makeSensorByType",valueCallbackIndex:1},{methodName:"enumerate",nativeName:"enumerate",persistentCallbackIndex:0,valueCallbackIndex:2}],a);d.namespace(b,e)})(Rho.jQuery,Rho,Rho.util);