Specifies the version number of the SDL V4 interface. This is used by both the application and SDL to declare what interface version each is using.
@since SDL 1.0
Convenience init for all parameters.
- (nonnull instancetype)initWithMajorVersion:(UInt8)majorVersion
minorVersion:(UInt8)minorVersion
patchVersion:(UInt8)patchVersion;
init(majorVersion: UInt8, minorVersion: UInt8, patchVersion: UInt8)
Major version
Minor version
Patch version
A SDLMsgVersion object
The major version indicates versions that is not-compatible to previous versions
Required, Integer, 1 - 10
@property (nonatomic, strong) NSNumber<SDLInt> *_Nonnull majorVersion;
var majorVersion: NSNumber & SDLInt { get set }
The minor version indicates a change to a previous version that should still allow to be run on an older version (with limited functionality)
Required, Integer, 0 - 1000
@property (nonatomic, strong) NSNumber<SDLInt> *_Nonnull minorVersion;
var minorVersion: NSNumber & SDLInt { get set }
Allows backward-compatible fixes to the API without increasing the minor version of the interface
Optional, Integer, 0 - 1000
@property (nonatomic, strong, nullable) NSNumber<SDLInt> *patchVersion;
var patchVersion: (NSNumber & SDLInt)? { get set }