Gio.Permission.prototype.get_can_acquire

function get_can_acquire(): Boolean {
    // Gjs wrapper for g_permission_get_can_acquire()
}
  

Gets the value of the 'can-acquire' property. This property is true if it is generally possible to acquire the permission by calling Gio.Permission.prototype.acquire.

Since 2.26

Returns

the value of the 'can-acquire' property