(function(f,c,d){var b="Rho.DeviceMemory";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,[],a,function(){return this.getId()});d.createMethodsProxy(e.prototype,[],a,function(){return this.getId()});d.createRawPropsProxy(e.prototype,[]);e.DEVICE_MEMORY_STATUS_CRITICAL="DEVICE_MEMORY_STATUS_CRITICAL";e.DEVICE_MEMORY_STATUS_LOW="DEVICE_MEMORY_STATUS_LOW";d.createPropsProxy(e,[],a);d.createMethodsProxy(e,[{methodName:"startListeningPlatformMemoryWarning",nativeName:"startListeningPlatformMemoryWarning",persistentCallbackIndex:0,valueCallbackIndex:2},{methodName:"stopListeningPlatformMemoryWarning",nativeName:"stopListeningPlatformMemoryWarning",valueCallbackIndex:0},{methodName:"getAvailableMemory",nativeName:"getAvailableMemory",valueCallbackIndex:0},{methodName:"getInternalStorage",nativeName:"getInternalStorage",valueCallbackIndex:0},{methodName:"getExternalStorage",nativeName:"getExternalStorage",valueCallbackIndex:0}],a);d.namespace(b,e)})(Rho.jQuery,Rho,Rho.util);