Gck.modules_objects_for_uri

function modules_objects_for_uri(modules: Array(Gck.Module), uri: String, session_options: Gck.SessionOptions): Array(Gck.Object) {
    // Gjs wrapper for gck_modules_objects_for_uri()
}
  

Find objects that match a URI.

This call can block. Use Gck.modules_enumerate_uri for a non-blocking version.

modules

The modules

uri

The URI the objects must match

session_options

Options from GckSessionOptions

Returns

A list of Gck.Object which should be released with Gck.list_unref_free, or null if no matching object was found.