内容表

上一话题

QRadioData

下一话题

QRadioTuner

QRadioDataControl

QRadioDataControl class provides access to the RDS functionality of the radio in the QMediaService . 更多

Inheritance diagram of PySide2.QtMultimedia.QRadioDataControl

详细描述

The functionality provided by this control is exposed to application code through the QRadioData 类。

The interface name of QRadioDataControl is org.qt-project.qt.radiodatacontrol/5.0 作为定义在 QRadioDataControl_iid .

class 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