delete(long)

format

Icon void delete(long eveMediaObjectKey) throws EveException

 

Iconvoid delete(long eveMediaObjectKey,CommandList beforeMethods,CommandList afterMethods) throws EveException

description

Removes a MediaObject from the MediaCollection.

parameters

Icon eveMediaObjectKey - the key of the MediaObject to be removed

 

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

 

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

returns

Icon TRUE - if the deletion was successful

throws

The delete() method throws an EveException if the deletion fails.

 

NOTE: After you delete an image from a MediaCollection using the delete(long) method, you must call the reorganize method to organize and optimize the remaining data structures within the MediaCollection.