• Skip to main content
  • Select language
  • Skip to search
MDN Web Docs
  • Technologies
    • HTML
    • CSS
    • JavaScript
    • Graphics
    • HTTP
    • APIs / DOM
    • WebExtensions
    • MathML
  • References & Guides
    • Learn web development
    • Tutorials
    • References
    • Developer Guides
    • Accessibility
    • Game development
    • ...more docs
B2G OS
  1. MDN
  2. Archive of obsolete content
  3. B2G OS
  4. B2G OS APIs
  5. FMRadio
  6. FMRadio.onenabled

FMRadio.onenabled

In This Article
  1. Syntax
  2. Specifications
  3. Browser compatibility
  4. See also

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

Syntax

navigator.mozFMRadio.onenabled = funcRef

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

Specifications

Not part of any specification.

Browser compatibility

  • Desktop
  • Mobile
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

  • FMRadio

Document Tags and Contributors

Tags: 
  • API
  • Firefox OS
  • FMRadio API
  • Property
  • Reference
  • WebFM
 Contributors to this page: chrisdavidmills, fscholz, Sebastianz, teoli, MHasan, kscarfone, Jeremie
 Last updated by: chrisdavidmills, Feb 27, 2017, 2:07:35 AM
See also
  1. WebFM API
  2. Archive
  3. Events
    1. antennaavailablechange
    2. frequencychange
    3. disabled
    4. enabled
  4. Related pages for FMRadio API
    1. FMRadio