Gck.slots_enumerate_objects

function slots_enumerate_objects(slots: Array(Gck.Slot), match: Gck.Attributes, options: Gck.SessionOptions): Gck.Enumerator {
    // Gjs wrapper for gck_slots_enumerate_objects()
}
  

Setup an enumerator for listing matching objects on the slots.

If the match Gck.Attributes is floating, it is consumed.

This call will not block but will return an enumerator immediately.

slots

a list of Gck.Slot to enumerate objects on.

match

attributes that the objects must match, or empty for all objects

options

options for opening a session

Returns

a new enumerator