package com.kurento.kmf.media;

import com.kurento.kmf.media.events.ErrorEvent;
import com.kurento.kmf.media.events.MediaEventListener;
import com.kurento.tool.rom.RemoteClass;

@RemoteClass
public interface MediaObject {

	MediaPipeline getMediaPipeline();

	void getMediaPipeline(Continuation<MediaPipeline> cont);

	MediaObject getParent();

	void getParent(Continuation<MediaObject> cont);

	ListenerRegistration addErrorListener(
			MediaEventListener<ErrorEvent> listener);

	void addErrorListener(MediaEventListener<ErrorEvent> listener,
			Continuation<ListenerRegistration> cont);

	void release();

	void release(Continuation<Void> continuation);
}

@@ -589,24 +589,480 @@
 ;%0A%0A%09
-void release();%0A
+/**%0A%09 * %0A%09 * Explicitly release a media object form memory. All of its children will%0A%09 * also be released.%0A%09 * %0A%09 **/%0A%09void release();%0A%0A%09/**%0A%09 * %0A%09 * Explicitly release a media object form memory. All of its children will%0A%09 * also be released. Asynchronous call.%0A%09 * %0A%09 * @param continuation%0A%09 *            %7B@link #onSuccess(void)%7D will be called when the actions%0A%09 *            complete. %7B@link #onError%7D will be called if there is an%0A%09 *            exception.%0A%09 * %0A%09 **/
 %0A%09vo
@@ -1106,10 +1106,11 @@
 ation);%0A
+%0A
 %7D%0A

Add generated documentation for release methods