MDN wants to talk to developers like you: https://qsurvey.mozilla.com/s3/8d22564490d8

FMRadio.channelWidth

This API is available on Firefox or Firefox OS for installed or higher privileged applications.

Summary

The channelWidth property value indicates the channel width of the ranges of frequency, in MHz.

Usually, the value is one of: 0.05, 0.1 (default) or 0.2.

When a frequency is assigned to the radio, it is rounded to the closest frequency given the channelWidth. For example, if 100Mz is a valid frequency and the channelWidth is 0.2, 100.2, 99.8 are also valid frequencies, but 100.15 will be rounded to 100.2.

Syntax

var width = instanceOfFMRadio.channelWidth

Value

Return a boolean.

Specification

Not part of any specification.

See also

Document Tags and Contributors

 Contributors to this page: chrisdavidmills, teoli, kscarfone, Jeremie
 Last updated by: chrisdavidmills,