addAttachment

abstract fun addAttachment(attachment: Attachment)

Adds an attachment to the Scope's list of attachments. The SDK adds the attachment to every event and transaction sent to Sentry.

Parameters

attachment

The attachment to add to the Scope's list of attachments.