QRadioDataControl

The QRadioDataControl class provides access to the RDS functionality of the radio in the QMediaService . More

Inheritance diagram of PySide2.QtMultimedia.QRadioDataControl

Detailed Description

The functionality provided by this control is exposed to application code through the QRadioData class.

The interface name of QRadioDataControl is org.qt-project.qt.radiodatacontrol/5.0 as defined in QRadioDataControl_iid .

class PySide2.QtMultimedia.QRadioDataControl([parent=None])
param parent:

PySide2.QtCore.QObject

Constructs a radio data control with the given parent .

PySide2.QtMultimedia.QRadioDataControl.alternativeFrequenciesEnabledChanged(enabled)
Parameters:

enabled – bool

PySide2.QtMultimedia.QRadioDataControl.error()
Return type:

Error

Returns the error state of a radio data.

PySide2.QtMultimedia.QRadioDataControl.error(err)
Parameters:

errError

PySide2.QtMultimedia.QRadioDataControl.errorString()
Return type:

str

Returns a string describing a radio data’s error state.

PySide2.QtMultimedia.QRadioDataControl.isAlternativeFrequenciesEnabled()
Return type:

bool

Returns true if Alternative Frequency is currently enabled

PySide2.QtMultimedia.QRadioDataControl.programType()
Return type:

ProgramType

Returns the current Program Type

PySide2.QtMultimedia.QRadioDataControl.programTypeChanged(programType)
Parameters:

programTypeProgramType

PySide2.QtMultimedia.QRadioDataControl.programTypeName()
Return type:

str

Returns the current Program Type Name

PySide2.QtMultimedia.QRadioDataControl.programTypeNameChanged(programTypeName)
Parameters:

programTypeName – str

PySide2.QtMultimedia.QRadioDataControl.radioText()
Return type:

str

Returns the current Radio Text

PySide2.QtMultimedia.QRadioDataControl.radioTextChanged(radioText)
Parameters:

radioText – str

PySide2.QtMultimedia.QRadioDataControl.setAlternativeFrequenciesEnabled(enabled)
Parameters:

enabled – bool

Sets the Alternative Frequency to enabled

PySide2.QtMultimedia.QRadioDataControl.stationId()
Return type:

str

Returns the current Program Identification

PySide2.QtMultimedia.QRadioDataControl.stationIdChanged(stationId)
Parameters:

stationId – str

PySide2.QtMultimedia.QRadioDataControl.stationName()
Return type:

str

Returns the current Program Service

PySide2.QtMultimedia.QRadioDataControl.stationNameChanged(stationName)
Parameters:

stationName – str