call_inhibit_device_sync


Description:

public bool call_inhibit_device_sync (string arg_uid, bool arg_inhibit, Cancellable? cancellable = null) throws Error

Synchronously invokes the InhibitDevice D-Bus method on this.

The calling thread is blocked until a reply is received.

See call_inhibit_device for the asynchronous version of this method.

Parameters:

this

A GdbusOrgFreedesktopModemManager1Proxy.

arg_uid

Argument to pass with the method invocation.

arg_inhibit

Argument to pass with the method invocation.

cancellable

A Cancellable or null.

Returns:

true if the call succeeded, false if error is set.