remove

external fun remove(imageId: Int): Int

Remove an image from the database by providing the id.

Return

GemError.NoError on success.

GemError.NotFound if the Image is not found.

GemError.NotSupported if the Image is not the Image type used by database.

GemError.Io when an I/O error occurred.

GemError.General on any other error.

Parameters

imageId

Image id to be removed.