Gst.Pad.prototype.get_sticky_event

function get_sticky_event(event_type:Gst.EventType, idx:Number):Gst.Event {
    // Gjs wrapper for gst_pad_get_sticky_event()
}

Returns a new reference of the sticky event of type event_type from the event.

event_type

the Gst.EventType that should be retrieved.

idx

the index of the event

Returns

a Gst.Event of type event_type or NULL when no event of event_type was on pad. Unref after usage.