sk_getVersionMajor() / sk_getVersionMinor() / sk_getVersionBuild()/ sk_getVersionRelease()

 

Use the sk_getVersion...() function to retrieve SwitchKit version information.

Description

The SwitchKit API version information is divided into several fields that are retrievable using these functions. The SwitchKit API version follows the format: AA.BB.CC.DD.

AA represents the SwitchKit API major version number.

BB represents the SwitchKit API minor version number.

CC represents the SwitchKit API release number.

DD represents the SwitchKit API build number.

An example of a SwitchKit API version is 8.02.02.35.

Syntax

int sk_getVersionMajor();

int sk_getVersionMinor();

int sk_getVersionRelease();

int sk_getVersionBuild();

Threadsafe Syntax

int skts_getVersionMajor();

int skts_getVersionMinor();

int skts_getVersionRelease();

int skts_getVersionBuild();