ZyncAddNoteContent

constructor(note: String?, noteType: String, canNotifyOthers: Boolean, noteVisibilityType: ZyncNoteVisibilityType, attachments: List<ZyncNoteAttachment>?, userMentions: List<String>?, associatedJob: ZyncNoteAssociatedJob?, associatedCustomer: ZyncNoteAssociatedCustomer?, associatedOrganization: ZyncNoteAssociatedOrganization?, associatedProperty: ZyncNoteAssociatedProperty?, associatedAsset: ZyncNoteAssociatedAsset?, associatedQuote: ZyncNoteAssociatedQuote?, associatedInvoice: ZyncNoteAssociatedInvoice?, associatedContract: ZyncNoteAssociatedContract?, associatedRequest: ZyncNoteAssociatedRequest?, associatedProject: ZyncNoteAssociatedProject?, primaryModule: ZyncNotePrimaryModule, isPinned: Boolean, geoCoordinates: List<Double>?)

Parameters

note

The text content of the note. Can be null for non-text note types.

noteType

Type of note (e.g., "TEXT", "AUDIO", "IMAGE", "VIDEO").

canNotifyOthers

Whether this note can trigger notifications to other users.

noteVisibilityType

Visibility level controlling who can see this note.

attachments

List of file attachments associated with this note.

userMentions

List of user UIDs mentioned in this note for notifications.

associatedJob

Job association details if this note is linked to a job.

associatedCustomer

Customer association details if this note is linked to a customer.

associatedOrganization

Organization association details if this note is linked to an organization.

associatedProperty

Property association details if this note is linked to a property.

associatedAsset

Asset association details if this note is linked to an asset.

associatedQuote

Quote/estimate association details if this note is linked to a quote.

associatedInvoice

Invoice association details if this note is linked to an invoice.

associatedContract

Contract association details if this note is linked to a contract.

associatedRequest

Service request association details if this note is linked to a request.

associatedProject

Project association details if this note is linked to a project.

primaryModule

Primary module this note belongs to (required for proper categorization).

isPinned

Whether this note should be pinned for priority visibility.

geoCoordinates

Geographic coordinates latitude, longitude where the note was created.