AmFmTuner QML Type

Provides a interface to control the AM/FM tuner. More...

Import Statement: import QtInterfaceFramework.Media 1.0
In C++: QIfAmFmTuner
Inherits:

AbstractFeature

Properties

Signals

Methods

Detailed Description

The AmFmTuner provides the methods to control a AM/FM tuner.

Uses qtifmedia as configurationId for InterfaceFrameworkConfiguration based settings.

Property Documentation

backendUpdatesEnabled : bool


band : enumeration

The current band of the tuner.

Available values are:

ConstantDescription
AMBandThe AM Band is based on the Amplitude Modulation technique and can range from 520 to 1610 kHz (1710 kHz). The step size is usually between 9 or 10 kHz.
FMBandThe FM Band is based on the Frequency Modulation technique and can range from 87.5 to 108.0 MHz. The step size is usually 100 kHz.

configurationId : string


discoveryMode : enumeration


discoveryResult : enumeration [read-only]


frequency : int

The current frequency of the tuner.


isInitialized : bool [read-only]


isValid : bool [read-only]


maximumFrequency : int [read-only]

The maximum frequency of the current band.


minimumFrequency : int [read-only]

The minimum frequency of the current band.


preferredBackends : list<string>


scanRunning : bool [read-only]

true while a scan is in progress, false otherwise.

See also startScan(), stopScan(), scanStarted(), and scanStopped().


serviceObject : ServiceObject


station : AmFmTunerStation [read-only]

The currently tuned station.


stepSize : int [read-only]

The frequency step size of the current band.

See also stepUp() and stepDown().


Signal Documentation

scanStarted()

A new scan has started and is now running.

Note: The corresponding handler is onScanStarted.

See also startScan, stopScan, scanRunning, and scanStopped.


scanStopped()

The currently active scan has stopped.

Note: The corresponding handler is onScanStopped.

See also startScan, stopScan, scanRunning, and scanStarted.


Method Documentation

seekDown()

Seeks the next available Station in downwards direction and tunes it.

If the beginning of the band where hit without finding a station, the search will be continued from the end of the band.


seekUp()

Seeks the next available Station in upwards direction and tunes it.

If the end of the band where hit without finding a station, the search will be continued from the beginning of the band.


enumeration startAutoDiscovery()


startScan()

Starts a scan through all available stations.

The scan will seek to the next available station and will stay there for some seconds until it seeks to the next station.

See also stopScan, scanRunning, scanStarted, and scanStopped.


stepDown()

Decreases the frequency by the current bands step size.


stepUp()

Increases the frequency by the current bands step size.


stopScan()

Stops the currently active scan. If no scan is active, this method does nothing.

See also startScan, scanRunning, scanStarted, and scanStopped.


tune(AmFmTunerStation station)

Tunes to the provided station.


© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.