powersync_attachments_helper library

Attachment Helper SDK.

Implement AbstractAttachmentQueue to create an attachment queue.

Classes

AbstractAttachmentQueue
Abstract class used to implement the attachment queue Requires a PowerSyncDatabase, an implementation of AbstractRemoteStorageAdapter and an attachment directory name which will determine which folder attachments are stored into.
AbstractRemoteStorageAdapter
Abstract class used to implement the remote storage adapter
Attachment
Class used to create the attachment queue table The table is local only and will not be visible in the remote database
AttachmentsQueueTable

Enums

AttachmentState
Different states that an attachment in the queue can be in

Properties

log → Logger
Logger for the attachment queue
final