ask_interface_request_async


Description:

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

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.

callback

a TaskReadyCallback to call when the request is satisfied.

interface

the interface name being requested.

user_data

the data to pass to callback function.