Gck.Slot.prototype.get_mechanism_info

function get_mechanism_info(mech_type: Number(gulong)): Gck.MechanismInfo {
    // Gjs wrapper for gck_slot_get_mechanism_info()
}
  

Get information for the specified mechanism.

mech_type

The mechanisms type to get info for.

Returns

the mechanism information, or NULL if failed; use Gck.MechanismInfo.prototype.free when done with it