deleteImage (MediaCollection)


void deleteImage(String path MediaCollection mCollection) throws Exception


Removes the image from the specified MediaCollection. Use this method if you want to delete an image from a MediaCollection other than the current MediaCollection.


path - the full path and filename of the image to be removed


mCollection - the MediaCollection from which you want to delete the image


nothing (void)


deleteImage() throws an Exception if path does not exist, if it is not a file, if it is not a valid image type, or if mCollection does not exist. Additionally, if an error occurs while the file is being removed from the MediaCollection, delete() throws that EveException as a string in an Exception.