ask_interface_request_sync


Description:

[ Version ( since = "1.72" ) ]
public bool ask_interface_request_sync (string @interface, Pid pid, Cancellable? cancellable = null) throws Error

Synchronously ask snapd whether a snap should be granted access to a given interface.

Parameters:

this

a Client.

pid

the PID of the process making the request.

cancellable

a Cancellable or null.

interface

the interface name being requested.

Returns:

true if the snap should be granted access, false otherwise.