package com.kurento.kmf.media;

import java.util.List;

import com.kurento.tool.rom.RemoteClass;
import com.kurento.tool.rom.server.Param;

@RemoteClass
public interface CrowdDetectorFilter extends Filter {

	public interface Factory {

		public Builder create(
				@Param("mediaPipeline") MediaPipeline mediaPipeline,
				@Param("rois") List<RegionOfInterest> rois);
	}

	public interface Builder extends AbstractBuilder<CrowdDetectorFilter> {

	}
}

@@ -72,139 +72,1189 @@
 nto.
-tool.rom.RemoteClass;%0Aimport com.kurento.tool.rom.server.Param;%0A%0A@RemoteClass%0Apublic interface CrowdDetectorFilter extends Filter %7B
+kmf.media.events.CrowdDetectorDirectionEvent;%0Aimport com.kurento.kmf.media.events.CrowdDetectorFluidityEvent;%0Aimport com.kurento.kmf.media.events.CrowdDetectorOccupancyEvent;%0Aimport com.kurento.kmf.media.events.MediaEventListener;%0Aimport com.kurento.tool.rom.RemoteClass;%0Aimport com.kurento.tool.rom.server.Param;%0A%0A@RemoteClass%0Apublic interface CrowdDetectorFilter extends Filter %7B%0A%0A%09ListenerRegistration addCrowdDetectorFluidityListener(%0A%09%09%09MediaEventListener%3CCrowdDetectorFluidityEvent%3E listener);%0A%0A%09void addCrowdDetectorFluidityListener(%0A%09%09%09MediaEventListener%3CCrowdDetectorFluidityEvent%3E listener,%0A%09%09%09Continuation%3CListenerRegistration%3E cont);%0A%0A%09ListenerRegistration addCrowdDetectorOccupancyListener(%0A%09%09%09MediaEventListener%3CCrowdDetectorOccupancyEvent%3E listener);%0A%0A%09void addCrowdDetectorOccupancyListener(%0A%09%09%09MediaEventListener%3CCrowdDetectorOccupancyEvent%3E listener,%0A%09%09%09Continuation%3CListenerRegistration%3E cont);%0A%0A%09ListenerRegistration addCrowdDetectorDirectionListener(%0A%09%09%09MediaEventListener%3CCrowdDetectorDirectionEvent%3E listener);%0A%0A%09void addCrowdDetectorDirectionListener(%0A%09%09%09MediaEventListener%3CCrowdDetectorDirectionEvent%3E listener,%0A%09%09%09Continuation%3CListenerRegistration%3E cont);
 %0A%0A%09p

Add event listeners