* Add a listener for the <code>have-type</code> signal.
*
* @param listener Listener to be called when a new type is discovered.
*/
public void connect(final HAVE_TYPE listener) {
connect("have-type", HAVE_TYPE.class, listener, new GstCallback() {
@SuppressWarnings("unused")
public void callback(Element elem, int probability, Caps caps) {
listener.typeFound(elem, probability, caps);
}
});