Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
Documentation
SdlMsgVersion

SdlMsgVersion Class Reference

Constructors

Instance Methods

Constructors

new SdlMsgVersion(parameters)

Initalizes an instance of SdlMsgVersion.

Instance Methods

sdlMsgVersion.getMajorVersion() ⇒ Number

Get the MajorVersion

Kind: Instance method of SdlMsgVersion
Returns: Number - the KEY_MAJOR_VERSION value

sdlMsgVersion.getMinorVersion() ⇒ Number

Get the MinorVersion

Kind: Instance method of SdlMsgVersion
Returns: Number - the KEY_MINOR_VERSION value

sdlMsgVersion.getPatchVersion() ⇒ Number

Get the PatchVersion

Kind: Instance method of SdlMsgVersion
Returns: Number - the KEY_PATCH_VERSION value

sdlMsgVersion.setMajorVersion(version) ⇒ SdlMsgVersion

Set the MajorVersion

Kind: Instance method of SdlMsgVersion
Returns: SdlMsgVersion - The class instance for method chaining.

ParamTypeDescription
version Number The major version indicates versions that is not-compatible to previous versions. - The desired MajorVersion. {'num_min_value': 1, 'num_max_value': 10}

sdlMsgVersion.setMinorVersion(version) ⇒ SdlMsgVersion

Set the MinorVersion

Kind: Instance method of SdlMsgVersion
Returns: SdlMsgVersion - The class instance for method chaining.

ParamTypeDescription
version Number The minor version indicates a change to a previous version that should still allow to be run on an older version (with limited functionality) - The desired MinorVersion. {'num_min_value': 0, 'num_max_value': 1000}

sdlMsgVersion.setPatchVersion(version) ⇒ SdlMsgVersion

Set the PatchVersion

Kind: Instance method of SdlMsgVersion
Returns: SdlMsgVersion - The class instance for method chaining.

ParamTypeDescription
version Number The patch version indicates a fix to existing functionality in a previous version that should still be able to be run on an older version - The desired PatchVersion. {'num_min_value': 0, 'num_max_value': 1000}
View on GitHub.com
Previous Section Next Section