class DittoAttachmentFetcher : Closeable

These objects are returned by calls to fetchAttachment on DittoCollections.

They must be kept alive for as long as you wish to observe updates about the associated attachment.

If you wish to cancel fetching an attachment, or once you've fetched an attachment successfully, you should call stop on this object.


Link copied to clipboard
open override fun close()

Stops fetching the fetcher's associated attachment and cleans up any associated resources.