uninhibit_device_sync


Description:

[ Version ( since = "1.10" ) ]
public bool uninhibit_device_sync (string uid, Cancellable? cancellable = null) throws Error

Synchronously requests to remove an inhibition on the device identified by uid.

The uid must be the same unique ID that was sent in the inhibition request.

Only the same program that placed an inhibition on a given device is able to remove the inhibition.

See uninhibit_device for the asynchronous version of this method.

Parameters:

this

A Manager.

uid

the unique ID of the physical device.

cancellable

A Cancellable or null.

Returns:

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




2022 vala-language.org