These objects are returned by calls to DittoCollection.FetchAttachment(DittoAttachmentToken, Action<DittoAttachmentFetchEvent>).
More...
Inherits Drop.
|
void | Stop () |
| Stops fetching the fetcher's associated attachment and cleans up any associated resources.
|
|
|
override void | Dispose (bool disposing) |
| Custom cleanup logic. Called either explicitly from Dispose or implicitly from finalizer.
|
|
|
Ditto | Ditto [get] |
| Gets the Ditto object this attachment fetcher is registered with. NOTE: This is only set when fetching attachments using DittoStore.
|
|
These objects are returned by calls to DittoCollection.FetchAttachment(DittoAttachmentToken, Action<DittoAttachmentFetchEvent>).
They must be kept alive for as long as you wish to observe updates about the associated attachment.
◆ Dispose()
override void DittoSDK.DittoAttachmentFetcher.Dispose |
( |
bool | disposing | ) |
|
|
inlineprotected |
Custom cleanup logic. Called either explicitly from Dispose or implicitly from finalizer.
- Parameters
-
disposing | true when called explicitly; false when called from finalizer. |
◆ Stop()
void DittoSDK.DittoAttachmentFetcher.Stop |
( |
| ) |
|
|
inline |
Stops fetching the fetcher's associated attachment and cleans up any associated resources.
Note that you are not required to call stop
once your attachment fetch operation has finished. The method primarily exists to allow you to cancel an attachment fetch request while it is ongoing if you no longer wish for the attachment to be made available locally to the device.