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.
Syntax
navigator.mozFMRadio.onantennaavailablechange = funcRef
Where funcRef
is a function to be called when the antennaavailablechange
event occurs.
Specifications
Not part of any specification.
Browser compatibility
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Basic support | No support | No support | No support | No support | No support |
Feature | Android | Firefox Mobile (Gecko) | Firefox OS | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|
Basic support | No support | No support | 1.0 | No support | No support | No support |
See also
Document Tags and Contributors
Tags:
Contributors to this page:
chrisdavidmills,
fscholz,
Sebastianz,
teoli,
Marsf,
MHasan,
kscarfone,
Jeremie
Last updated by:
chrisdavidmills,