removeById

external fun removeById(imageId: Int): Int

Removes an Image from the database by providing the ID.

Return

GemError.NoError Success

GemError.NotFound if the Image is not found.

GemError.Io when an I/O error occurred.