Gst.Query.prototype.set_formatsv

function set_formatsv(formats:[Gst.Format]):void {
    // Gjs wrapper for gst_query_set_formatsv()
}

Set the formats query result fields in query. The number of formats passed in the formats array must be equal to n_formats.

formats

an array containing n_formats @GstFormat values.