(function(f,c,d){var b="Rho.Intent";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.BROADCAST="broadcast";e.START_ACTIVITY="startActivity";e.START_SERVICE="startService";d.createPropsProxy(e,[],a);d.createMethodsProxy(e,[{methodName:"send",nativeName:"send",persistentCallbackIndex:1,valueCallbackIndex:3},{methodName:"startListening",nativeName:"startListening",persistentCallbackIndex:0,valueCallbackIndex:2},{methodName:"stopListening",nativeName:"stopListening",valueCallbackIndex:0}],a);d.namespace(b,e)})(Rho.jQuery,Rho,Rho.util);