add

format

void add(MediaObject eve) throws EveException

 

void add(MediaObject eve,CommandList beforeMethods,CommandList afterMethods) throws EveException

description

Adds a MediaObject to the MediaCollection.

parameters

eve - the MediaObject to be added

 

CommandList beforeMethods — indicates that you want to run a command method(s) before the method is invoked

 

CommandList afterMethods — indicates that you want to run a command method(s) after the method is executed

returns

TRUE - if the addition was successful

throws

The add() method throws an EveException if the addition fails.