Gio.Permission.prototype.impl_update

function impl_update(allowed: Boolean, can_acquire: Boolean, can_release: Boolean): void {
    // Gjs wrapper for g_permission_impl_update()
}
  

This function is called by the Gio.Permission implementation to update the properties of the permission. You should never call this function except from a Gio.Permission implementation.

GObject notify signals are generated, as appropriate.

Since 2.26

allowed

the new value for the 'allowed' property

can_acquire

the new value for the 'can-acquire' property

can_release

the new value for the 'can-release' property