FMRadio.onenabled

Specifies an event listener to receive enabled events. Those events occur when the device's FM radio is turned on.

Syntax

JavaScript
navigator.mozFMRadio.onenabled = <var>funcRef</var>

Where funcRef is a function to be called when the enabled 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

License

© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/api/fmradio/onenabled

API Firefox OS FMRadio API Property Reference WebFM