Specifies an event listener to receive antennaavailablechange events. Those events occur when an antenna is plugged or unplugged.

To check the current state of the antenna, use the FMRadio.antennaAvailable property.


navigator.mozFMRadio.onantennaavailablechange = funcRef

Where funcRef is a function to be called when the antennaavailablechange event occurs.


Not part of any specification.

Browser compatibility

Supported in Firefox OS 1.0.

See also