All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.io.sentry.kotlin.multiplatform.protocol.SdkVersion.kt Maven / Gradle / Ivy

package io.sentry.kotlin.multiplatform.protocol

/** The SDK Interface describes the Sentry SDK and its configuration used to capture and transmit an event. */
data class SdkVersion(
    /** The name of the SDK. */
    val name: String,

    /** The version of the SDK. */
    val version: String
) {
    /** Packages used by the SDK. */
    var packages: List? = mutableListOf()
        private set

    fun addPackage(name: String, version: String) {
        val mutableList = packages?.toMutableList()
        mutableList?.add(Package(name, version))
        packages = mutableList
    }
}

data class Package(
    val name: String,
    val version: String
)




© 2015 - 2025 Weber Informatics LLC | Privacy Policy