add

abstract fun add(attachment: Attachment)

Adds a single attachment

Parameters

attachment

The attachment to be added.


abstract fun add(url: String)

Adds a single URL

Parameters

url

The URL to be added.


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

Adds a list of attachments

Parameters

attachments

The list of attachments to be added.


abstract fun add(urls: Collection<String>)

Adds a list of URLs

Parameters

urls

The list of URLs to be added.