deleteNewMediaItem

@CheckReturnValue
abstract fun deleteNewMediaItem(uri: Uri): Completable

To be called when an item previously created / returned by createNewMediaItem has failed to be finished / written / any error occurred, so that the media item should be removed again.

Return

A Completable that completes after the action has been performed.

Parameters

uri

The Uri of the item to remove, which has been returned by a previous call to createNewMediaItem.