Gst.TocEntry.new

function new(type:Gst.TocEntryType, uid:String):Gst.TocEntry {
    // Gjs wrapper for gst_toc_entry_new()
}

Create new Gst.TocEntry structure.

type

entry type.

uid

unique ID (UID) in the whole TOC.

Returns

newly allocated Gst.TocEntry structure, free it with gst_toc_entry_unref().