public interface MediaObject extends KurentoObject
isCommited, release, release, release, waitCommited, whenCommited, whenCommitedMediaPipeline getMediaPipeline()
void getMediaPipeline(Continuation<MediaPipeline> cont)
TFuture<MediaPipeline> getMediaPipeline(Transaction tx)
MediaObject getParent()
void getParent(Continuation<MediaObject> cont)
TFuture<MediaObject> getParent(Transaction tx)
String getId()
getId in interface KurentoObjectvoid getId(Continuation<String> cont)
TFuture<String> getId(Transaction tx)
List<MediaObject> getChilds()
void getChilds(Continuation<List<MediaObject>> cont)
TFuture<List<MediaObject>> getChilds(Transaction tx)
String getName()
void getName(Continuation<String> cont)
TFuture<String> getName(Transaction tx)
void setName(String name)
void setName(String name, Continuation<Void> cont)
void setName(String name, Transaction tx)
boolean getSendTagsInEvents()
void getSendTagsInEvents(Continuation<Boolean> cont)
TFuture<Boolean> getSendTagsInEvents(Transaction tx)
void setSendTagsInEvents(boolean sendTagsInEvents)
void setSendTagsInEvents(boolean sendTagsInEvents,
Continuation<Void> cont)
void setSendTagsInEvents(boolean sendTagsInEvents,
Transaction tx)
int getCreationTime()
void getCreationTime(Continuation<Integer> cont)
TFuture<Integer> getCreationTime(Transaction tx)
void addTag(String key, String value)
key - Key of the tagvalue - Value of the tagvoid addTag(String key, String value, Continuation<Void> cont)
Continuation.onSuccess(F) is called when the action is
done. If an error occurs, Continuation.onError(java.lang.Throwable) is called.key - Key of the tagvalue - Value of the tagaddTag(java.lang.String, java.lang.String)void addTag(Transaction tx, String key, String value)
key - Key of the tagvalue - Value of the tagvoid removeTag(String key)
key - Key of the tag to removevoid removeTag(String key, Continuation<Void> cont)
Continuation.onSuccess(F) is called when the action is
done. If an error occurs, Continuation.onError(java.lang.Throwable) is called.key - Key of the tag to removeremoveTag(java.lang.String)void removeTag(Transaction tx, String key)
key - Key of the tag to removeString getTag(String key)
key - Tag key.void getTag(String key, Continuation<String> cont)
Continuation.onSuccess(F) is called when the action is
done. If an error occurs, Continuation.onError(java.lang.Throwable) is called.key - Tag key.getTag(java.lang.String)TFuture<String> getTag(Transaction tx, String key)
key - Tag key.List<Tag> getTags()
void getTags(Continuation<List<Tag>> cont)
Continuation.onSuccess(F) is called when the action is
done. If an error occurs, Continuation.onError(java.lang.Throwable) is called.getTags()TFuture<List<Tag>> getTags(Transaction tx)
ListenerSubscription addErrorListener(EventListener<ErrorEvent> listener)
EventListener for event ErrorEvent. Synchronous call.listener - Listener to be called on ErrorEventvoid addErrorListener(EventListener<ErrorEvent> listener, Continuation<ListenerSubscription> cont)
EventListener for event ErrorEvent. Asynchronous call.
Calls Continuation<ListenerSubscription> when it has been added.listener - Listener to be called on ErrorEventcont - Continuation to be called when the listener is registeredvoid removeErrorListener(ListenerSubscription listenerSubscription)
ListenerSubscription for event ErrorEvent. Synchronous call.listenerSubscription - Listener subscription to be removedvoid removeErrorListener(ListenerSubscription listenerSubscription, Continuation<Void> cont)
ListenerSubscription for event ErrorEvent. Asynchronous call.
Calls Continuation<Void> when it has been removed.listenerSubscription - Listener subscription to be removedcont - Continuation to be called when the listener is removedCopyright © 2015 Kurento. All rights reserved.