Version

Define the content version with major and minor.

Constructors

Link copied to clipboard
constructor()
constructor(address: Long)
constructor(major: Short? = null, minor: Short? = null, version: Int? = null)

Properties

Link copied to clipboard

Address of native referenced object. nullptr if not referencing any native allocated object. Note native allocation will happen only once.

Link copied to clipboard

Major version is the first 2 bytes of the version int, left to right, holding the most significant 16 bits of the int.

Link copied to clipboard

Minor version is the last 2 bytes of the version int, left to right, holding the least significant 16 bits of the int.

Link copied to clipboard

32-bit int to store version, 1 16-bit int for each of major,minor.

Functions

Link copied to clipboard
fun finalize()

Overrides finalize that garbage collector will call when needed.

Link copied to clipboard
external fun isNotEqualTo(value: Version): Boolean

Test to see if this instance is not equal than provided value

Link copied to clipboard

True if keeps a reference to a C++ SDK object False if keeps a C++ SDK object

Link copied to clipboard
external fun isSmallerThan(value: Version): Boolean

Test to see if this instance is smaller than provided value

Link copied to clipboard
operator fun not(): Boolean

Checks if this object is valid.

Link copied to clipboard
fun release()

Releases the native referenced value of this object if: