ModemManager::ModemCellBroadcast Class
class ModemManager::ModemCellBroadcastThe ModemCellBroadcast class. More...
| Header: | #include <ModemManagerQt/ModemCellBroadcast> |
| CMake: | find_package(KF6 REQUIRED COMPONENTS ModemManagerQt)target_link_libraries(mytarget PRIVATE KF6::ModemManagerQt) |
| Since: | 6.24.0 |
| Inherits: | ModemManager::Interface |
Public Types
Public Functions
| ModemCellBroadcast(const QString &path, QObject *parent = nullptr) | |
| ModemManager::Cbm::List | cellBroadcasts() const |
| ModemManager::CellBroadcastChannelRangeList | channels() const |
| QDBusPendingReply<void> | deleteCellBroadcast(const QString &uni) |
| ModemManager::Cbm::Ptr | findCellBroadcast(const QString &uni) |
| QDBusPendingReply<void> | setChannels(const ModemManager::CellBroadcastChannelRangeList &channels) |
| void | setTimeout(int timeout) |
| int | timeout() const |
Signals
| void | cellBroadcastAdded(const QString &uni) |
| void | cellBroadcastDeleted(const QString &uni) |
| void | channelsChanged(const ModemManager::CellBroadcastChannelRangeList &channels) |
Detailed Description
This interface allows clients to configure the details of CellBroadcast service information.
This interface will only be available once the modem is ready to be registered in the cellular network.
Member Type Documentation
ModemCellBroadcast::List
ModemCellBroadcast::Ptr
Member Function Documentation
[explicit] ModemCellBroadcast::ModemCellBroadcast(const QString &path, QObject *parent = nullptr)
[signal] void ModemCellBroadcast::cellBroadcastAdded(const QString &uni)
Emitted when any part of a new cell broadcast message has been received. Not all parts may have been received and the message may not be complete. Check the State property to determine if the message is complete.
uni object path of the new CBM
[signal] void ModemCellBroadcast::cellBroadcastDeleted(const QString &uni)
Emitted when a message has been deleted.
uni object path of the now deleted CBM
ModemManager::Cbm::List ModemCellBroadcast::cellBroadcasts() const
Returns the list of CBM object paths.
ModemManager::CellBroadcastChannelRangeList ModemCellBroadcast::channels() const
Returns the list of channels that cell broadcast messages are received for.
See also setChannels().
[signal] void ModemCellBroadcast::channelsChanged(const ModemManager::CellBroadcastChannelRangeList &channels)
QDBusPendingReply<void> ModemCellBroadcast::deleteCellBroadcast(const QString &uni)
Delete a cell broadcast message.
uni the object path of the CBM to delete
ModemManager::Cbm::Ptr ModemCellBroadcast::findCellBroadcast(const QString &uni)
Retrieve a specific cell broadcast message by its D-Bus object path.
uni the object path of the CBM to retrieve
QDBusPendingReply<void> ModemCellBroadcast::setChannels(const ModemManager::CellBroadcastChannelRangeList &channels)
Set the list of channels to receive Cell Broadcasts for.
channels the list of channel ranges
See also channels().
void ModemCellBroadcast::setTimeout(int timeout)
Sets the timeout in milliseconds for all async method DBus calls. -1 means the default DBus timeout (usually 25 seconds).
See also timeout().
int ModemCellBroadcast::timeout() const
Returns the current value of the DBus timeout in milliseconds. -1 means the default DBus timeout (usually 25 seconds).
See also setTimeout().