aboutsummaryrefslogtreecommitdiff
path: root/introspection/org.freedesktop.ModemManager1.xml
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2018-12-07 16:12:35 +0100
committerAleksander Morgado <aleksander@aleksander.es>2019-01-03 21:05:58 +0100
commit2212d3e054fbe218c64fa76eeac8480f82d9f623 (patch)
treeb654130c0e9bd7e74498d9a71a81ee3d141e7c13 /introspection/org.freedesktop.ModemManager1.xml
parente3766aef5d93d6cfec27432c81da3548bdd18ea6 (diff)
api,manager: new InhibitDevice() method
This new method allows users of the ModemManager API to take full control of a given device. Unlike other operations in the API, the inhibition is maintained as long as the caller exists in the bus, or until the same caller uninhibits the device. https://gitlab.freedesktop.org/mobile-broadband/ModemManager/issues/98
Diffstat (limited to 'introspection/org.freedesktop.ModemManager1.xml')
-rw-r--r--introspection/org.freedesktop.ModemManager1.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/introspection/org.freedesktop.ModemManager1.xml b/introspection/org.freedesktop.ModemManager1.xml
index 4d7a4e84..85b62134 100644
--- a/introspection/org.freedesktop.ModemManager1.xml
+++ b/introspection/org.freedesktop.ModemManager1.xml
@@ -107,6 +107,27 @@
</method>
<!--
+ InhibitDevice:
+ @uid: the unique ID of the physical device, given in the
+ #org.freedesktop.ModemManager1.Modem:Device property.
+ @inhibit: %TRUE to inhibit the modem and %FALSE to uninhibit it.
+
+ Inhibit or uninhibit the device.
+
+ When the modem is inhibited ModemManager will close all its ports and
+ unexport it from the bus, so that users of the interface are no longer
+ able to operate with it.
+
+ This operation binds the inhibition request to the existence of the
+ caller in the DBus bus. If the caller disappears from the bus, the
+ inhibition will automatically removed.
+ -->
+ <method name="InhibitDevice">
+ <arg name="uid" type="s" direction="in" />
+ <arg name="inhibit" type="b" direction="in" />
+ </method>
+
+ <!--
Version:
The runtime version of the ModemManager daemon.