SentryBaseEvent

abstract class SentryBaseEvent(var eventId: SentryId = SentryId.EMPTY_ID)

Base class for all Sentry events.

Inheritors

Constructors

Link copied to clipboard
constructor(eventId: SentryId = SentryId.EMPTY_ID)

Functions

Link copied to clipboard
fun addBreadcrumb(breadcrumb: Breadcrumb)
fun addBreadcrumb(message: String?)
Link copied to clipboard
fun getTag(key: String): String?
Link copied to clipboard
fun removeTag(key: String)
Link copied to clipboard
fun setTag(key: String, value: String)

Properties

Link copied to clipboard

A mutable map of breadcrumbs that led to this event.

Link copied to clipboard

The event contexts describing the environment (e.g. device, os or browser).

Link copied to clipboard
open var dist: String?

The event distribution. Think about it together with release and environment

Link copied to clipboard
open var environment: String?

The event environment.

Link copied to clipboard
open var eventId: SentryId

The Sentry event ID.

Link copied to clipboard
open var platform: String?

The event platform identifier.

Link copied to clipboard
open var release: String?

The event release.

Link copied to clipboard
open var serverName: String?

Server or device name the event was generated on.

Link copied to clipboard

A mutable map of custom tags for this event where each tag must be less than 200 characters.

Link copied to clipboard
open var user: User?

Information about the user who triggered this event.