remove

abstract fun remove(attachment: Attachment?, origin: Origin)

Removes a single attachment

Parameters

attachment

The attachment to be removed. Can be null.


abstract fun remove(key: String?)

Removes a single key

Parameters

key

The key to be removed. Can be null.


abstract fun remove(attachments: List<Attachment>, origin: Origin)

Removes a list of attachments

Parameters

attachments

The list of attachments to be removed.


abstract fun remove(keys: Collection<String>)

Removes a list of keys

Parameters

keys

The list of keys to be removed.