/**@class android.hardware.ConsumerIrManager @extends java.lang.Object Class that operates consumer infrared on the device. */ var ConsumerIrManager = { /**Check whether the device has an infrared emitter. @return {Boolean} true if the device has an infrared emitter, else false. */ hasIrEmitter : function( ) {}, /**Transmit an infrared pattern <p> This method is synchronous; when it returns the pattern has been transmitted. Only patterns shorter than 2 seconds will be transmitted. </p> @param {Number} carrierFrequency The IR carrier frequency in Hertz. @param {Object {int[]}} pattern The alternating on/off pattern in microseconds to transmit. */ transmit : function( ) {}, /**Query the infrared transmitter's supported carrier frequencies @return {Object {android.hardware.ConsumerIrManager.CarrierFrequencyRange}} an array of {@link android.hardware.ConsumerIrManager.CarrierFrequencyRange} objects representing the ranges that the transmitter can support, or null if there was an error communicating with the Consumer IR Service. */ getCarrierFrequencies : function( ) {}, };