Version

class Version @JvmOverloads constructor(val major: Int, val minor: Int, val patch: Int, val qualifier: String? = null) : Comparable<Version>

Represents a version of the CameraKit library. Versions are Comparable between each other by following the SemVer 2.0.0 specification.

Since

1.14.0

Parameters

major

An Int which must be equal or greater than 0.

minor

An Int which must be equal or greater than 0.

patch

An Int which must be equal or greater than 0.

qualifier

An optional String that contains pre-release and/or build metadata version information.

Constructors

Link copied to clipboard
fun Version(major: Int, minor: Int, patch: Int, qualifier: String? = null)

Types

Link copied to clipboard
object Companion

Provides ability to attach Version instantiation functions on the implementation side.

Functions

Link copied to clipboard
open operator override fun compareTo(other: Version): Int
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
val major: Int
Link copied to clipboard
val minor: Int
Link copied to clipboard
val patch: Int
Link copied to clipboard
val qualifier: String? = null