... | ... | @@ -81,6 +81,15 @@ gdbus introspect --session --dest sm.puri.OSK0 --object-path /sm/puri/OSK0 |
|
|
|
|
|
The two useful methods are `SetVisible` and `GetVisible`, each of which respectively accepts and returns a boolean value.
|
|
|
|
|
|
If you have already sent an SMS, get its details with this Python program:
|
|
|
```python
|
|
|
import dbus
|
|
|
bus = dbus.SystemBus()
|
|
|
obj = bus.get_object('org.freedesktop.ModemManager1', '/org/freedesktop/ModemManager1/SMS/0')
|
|
|
i = dbus.Interface(obj, 'org.freedesktop.DBus.Properties')
|
|
|
i.GetAll('org.freedesktop.ModemManager1.Sms')
|
|
|
```
|
|
|
|
|
|
## References
|
|
|
|
|
|
* https://dbus.freedesktop.org/doc/dbus-python/tutorial.html
|
... | ... | |