Request🔗
org.freedesktop.impl.portal.Request
Shared request interface
The Request interface is shared by all portal backend interfaces. When a backend method is called, the backend exports a Request object on the object path that was sent with the method call. The Request will stay alive for the duration of the user interaction related to the method call.
The portal can abort the interaction by calling Close() on the Request object.
Properties🔗
version🔗
version readable u
The version of this interface. Currently at 2.
Methods🔗
Close()🔗
Close ()
Ends the user interaction to which this object refers. Dialogs and other UIs related to the request should be closed.
Signals🔗
Created🔗
Created ()
Emitted by the backend when the Request object has been exported and is ready to receive calls. Portal frontends use this signal to avoid a race condition where Close() is called before the backend has created the object.
Backends that do not emit this signal are supported through a polling fallback.