Table of Contents

Class WatchedAttachmentItem

Namespace
PowerSync.Common.Attachments
Assembly
PowerSync.Common.dll

An attachment reference in your application's data model.

public sealed record WatchedAttachmentItem : IEquatable<WatchedAttachmentItem>
Inheritance
WatchedAttachmentItem
Implements
Inherited Members

Remarks

Provide either Filename or FileExtension (not both). When only FileExtension is provided, the queue derives a filename of the form {Id}.{FileExtension}.

Constructors

WatchedAttachmentItem(string, string?, string?, string?)

Initializes a new WatchedAttachmentItem.

Properties

FileExtension

Gets the file extension, or null when Filename is set.

Filename

Gets the filename, or null when FileExtension is set.

Id

Gets the attachment record ID.

MetaData

Gets optional metadata for the attachment.