offlineQueueMaxAttachmentBytes property

int offlineQueueMaxAttachmentBytes
final

Upper bound, in bytes, on a single attachment queued for offline retry (NomaChatClient.enqueueOfflineAttachment). An attachment upload that fails while over this size is NOT queued — queuing it would mean carrying its raw bytes through Hive on every persist of the offline queue, base64-encoded, indefinitely. Defaults to 10 MB, comfortably above a compressed photo/voice note but well under a raw video. The drop is reported via onOperationDropped (reason 'attachment_too_large') instead of failing silently.

Implementation

final int offlineQueueMaxAttachmentBytes;