... | ... | @@ -81,7 +81,13 @@ 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:
|
|
|
If you have already sent an SMS, get its details with `gdbus`:
|
|
|
```
|
|
|
gdbus call --system --dest org.freedesktop.ModemManager1 --object-path /org/freedesktop/ModemManager1/SMS/0 \
|
|
|
--method org.freedesktop.DBus.Properties.GetAll org.freedesktop.ModemManager1.Sms
|
|
|
```
|
|
|
|
|
|
Alternatively, this Python program will do the same thing:
|
|
|
```python
|
|
|
import dbus
|
|
|
bus = dbus.SystemBus()
|
... | ... | |