* Adds a listener for the <code>switch</code> signal
*
* @param listener Listener to be called
*/
public void connect(final SWITCH listener) {
connect(SWITCH.class, listener, new GstCallback() {
@SuppressWarnings("unused")
public void callback(InputSelector inputselector, Pad pad, long stop_time, long start_time) {
listener.Switch(inputselector, pad, stop_time, start_time);
}
});