BcmInfo

The BcmInfo 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 BcmInfo {

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

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

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

}

Usage Example

val version = BcmInfo.version
val build = BcmInfo.buildNum
val versionDetailed = BcmInfo.versionDetailed

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

results matching ""

    No results matching ""