Interface VersionInfoInterface

Software version of NavVis IVION according to the https://semver.org/ scheme.

interface VersionInfoInterface {
    major: number;
    minor: number;
    revision: number;
    compareTo(major: number, minor: number, revision: number): number;
}

Properties

Methods

Properties

major: number

The NavVis IVION major version number, corresponds to the first digit in version like 1.x.x

minor: number

The NavVis IVION minor version number, corresponds to the middle digit in version like x.2.x

revision: number

The NavVis IVION revision number, corresponds to the last digit in version like x.x.3

Methods

  • Compare this version against the version specified by the provided parameters. Returns a negative number if this version is lower than the one specified by the provided parameters, a positive number if this version is higher than the one specified by the provided parameters, or 0 if they are equivalent.

    Parameters

    • major: number

      The major version number to compare with

    • minor: number

      The minor version number to compare with

    • revision: number

      The revision number to compare with

    Returns number