Version

class Version @JvmOverloads() constructor(major: Int, minor: Int, patch: Int, qualifier: String?) : 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

Version
Link copied to clipboard
fun Version(major: Int, minor: Int, patch: Int, qualifier: String? = null)
An Int which must be equal or greater than 0.

Types

Companion
Link copied to clipboard
object Companion
Provides ability to attach Version instantiation functions on the implementation side.

Functions

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

Properties

major
Link copied to clipboard
val major: Int
An Int which must be equal or greater than 0.
minor
Link copied to clipboard
val minor: Int
An Int which must be equal or greater than 0.
patch
Link copied to clipboard
val patch: Int
An Int which must be equal or greater than 0.
qualifier
Link copied to clipboard
val qualifier: String? = null
An optional String that contains pre-release and/or build metadata version information.