Gck.Session.prototype.find_objects

function find_objects(match: Gck.Attributes, cancellable: Gio.Cancellable): Array(Gck.Object) {
    // Gjs wrapper for gck_session_find_objects()
}
  

Find the objects matching the passed attributes. This call may block for an indefinite period.

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

match

the attributes to match

cancellable

Optional cancellation object or NULL.

Returns

a list of the matching objects, which may be empty