Package-level declarations

Types

Link copied to clipboard
expect class Attachment

An attachment to be sent along with the event.

Link copied to clipboard
actual typealias Context = Context
expect abstract class Context

The context used for Android initiaclization.

actual abstract class Context
Link copied to clipboard
data class HttpStatusCodeRange(val min: Int = DEFAULT_MIN, val max: Int = DEFAULT_MAX)

The Http status code range. Example for a range: 400 to 499, 500 to 599, 400 to 599 The range is inclusive so the min and max is considered part of the range.

Link copied to clipboard
Link copied to clipboard
interface Scope

The Scope holds useful information that should be sent along with the event. For instance contexts or breadcrumbs are stored on the scope.

Link copied to clipboard
typealias ScopeCallback = (Scope) -> Unit
Link copied to clipboard
object Sentry

Sentry Kotlin Multiplatform SDK API entry point.

Link copied to clipboard
abstract class SentryBaseEvent(var eventId: SentryId = SentryId.EMPTY_ID)

Base class for all Sentry events.

Link copied to clipboard

Represents an event that is sent to Sentry.

Link copied to clipboard

The level of the event similar to logging levels.

Link copied to clipboard
open class SentryOptions

Sentry options that can be used to configure the SDK.

Link copied to clipboard
actual typealias SentryPlatformOptions = SentryAndroidOptions

Platform-specific configuration class for Sentry.

actual typealias SentryPlatformOptions = SentryOptions
actual typealias SentryPlatformOptions = SentryOptions
actual typealias SentryPlatformOptions = SentryOptions
Link copied to clipboard
data class SentryReplayOptions(var sessionSampleRate: Double? = null, var onErrorSampleRate: Double? = null, var maskAllText: Boolean = true, var maskAllImages: Boolean = true, var quality: SentryReplayOptions.Quality = Quality.MEDIUM)

Configuration options for session replay.

Functions

Link copied to clipboard
fun Sentry.captureError(error: NSError)
Link copied to clipboard
fun Sentry.captureException(exception: NSException)