StmInfo

The StmInfo class is an utility class for retrieving SDK version information. It enables association of scan results and performance with a specific SDK build for audit and diagnostic purposes.

Interface

object StmInfo {

    /**
     * SDK release version
     */
    public fun version() = BuildConfig.STM_SDK_VERSION

    /**
     * SDK release version code
     * Build unix timestamp
     */
    public fun buildNum() = BuildConfig.STM_SDK_VERSION_CODE

    /**
     * SDK detailed release version
     */
    public fun versionDetailed() = BuildConfig.STM_SDK_VERSION_DETAILED

}

Usage Example

val version = StmInfo.version
val build = StmInfo.buildNum
val versionDetailed = StmInfo.versionDetailed

Log.d(this.toString(), "SDK version: $version, $build, $versionDetailed")

results matching ""

    No results matching ""