QRadioDataControlclass provides access to the RDS functionality of the radio in theQMediaService. 更多 …
The functionality provided by this control is exposed to application code through the
QRadioData类。The interface name of
QRadioDataControlisorg.qt-project.qt.radiodatacontrol/5.0作为定义在QRadioDataControl_iid.
QRadioDataControl
(
[
parent=None
]
)
¶
- param parent
QObject
Constructs a radio data control with the given
parent
.
PySide2.QtMultimedia.QRadioDataControl.
alternativeFrequenciesEnabledChanged
(
enabled
)
¶
enabled
–
bool
PySide2.QtMultimedia.QRadioDataControl.
error
(
)
¶
Error
Returns the error state of a radio data.
PySide2.QtMultimedia.QRadioDataControl.
error
(
err
)
¶
err
–
Error
PySide2.QtMultimedia.QRadioDataControl.
errorString
(
)
¶
unicode
Returns a string describing a radio data’s error state.
PySide2.QtMultimedia.QRadioDataControl.
isAlternativeFrequenciesEnabled
(
)
¶
bool
Returns true if Alternative Frequency is currently enabled
PySide2.QtMultimedia.QRadioDataControl.
programType
(
)
¶
ProgramType
Returns the current Program Type
PySide2.QtMultimedia.QRadioDataControl.
programTypeChanged
(
programType
)
¶
programType
–
ProgramType
PySide2.QtMultimedia.QRadioDataControl.
programTypeName
(
)
¶
unicode
Returns the current Program Type Name
PySide2.QtMultimedia.QRadioDataControl.
programTypeNameChanged
(
programTypeName
)
¶
programTypeName – unicode
PySide2.QtMultimedia.QRadioDataControl.
radioText
(
)
¶
unicode
Returns the current Radio Text
PySide2.QtMultimedia.QRadioDataControl.
radioTextChanged
(
radioText
)
¶
radioText – unicode
PySide2.QtMultimedia.QRadioDataControl.
setAlternativeFrequenciesEnabled
(
enabled
)
¶
enabled
–
bool
Sets the Alternative Frequency to
enabled
PySide2.QtMultimedia.QRadioDataControl.
stationId
(
)
¶
unicode
Returns the current Program Identification
PySide2.QtMultimedia.QRadioDataControl.
stationIdChanged
(
stationId
)
¶
stationId – unicode
PySide2.QtMultimedia.QRadioDataControl.
stationName
(
)
¶
unicode
Returns the current Program Service
PySide2.QtMultimedia.QRadioDataControl.
stationNameChanged
(
stationName
)
¶
stationName – unicode