RadioDataThe RadioData type allows you to access RDS data from a QML application. More... Inherits Item Properties
Detailed DescriptionThis type is part of the QtMultimedia 5.0 module. RadioData is your gateway to all the data available through RDS. RDS is the Radio Data System which allows radio stations to broadcast information like the stationId, programType, programTypeName, stationName, and radioText. This information can be read from the RadioData. It also allows you to set whether the radio should tune to alternative frequencies if the current signal strength falls too much. import QtQuick 2.0 import QtMultimedia 5.0 Rectangle { width: 480 height: 320 Radio { id: radio band: Radio.FM } Column { Text { text: radio.radioData.stationName } Text { text: radio.radioData.programTypeName } Text { text: radio.radioData.radioText } } } You use RadioData together with a Radio, either by accessing the radioData property of the Radio, or creating a separate RadioData. The properties of the RadioData type will reflect the information broadcast by the radio station the Radio is currently tuned to. See also Radio Overview. Property DocumentationThis property allows you to specify whether the radio should try and tune to alternative frequencies if the signal strength of the current station becomes too weak. The alternative frequencies are emitted over RDS by the radio station, and the tuning happens automatically. Returns the availability state of the radio data interface. This is one of:
This property holds the type of the currently playing program as transmitted by the radio station. The value can be any one of the values defined in the table below.
This property holds a string representation of the programType. This property holds free-text transmitted by the radio station. This is typically used to show supporting information for the currently playing content, for instance song title or artist name. This property allows you to read the station Id of the currently tuned radio station. This property has the name of the currently tuned radio station. |