// SDLSyncMsgVersion.h // #import "SDLRPCMessage.h" /** * 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 */ NS_ASSUME_NONNULL_BEGIN @interface SDLSyncMsgVersion : SDLRPCStruct - (instancetype)initWithMajorVersion:(UInt8)majorVersion minorVersion:(UInt8)minorVersion patchVersion:(UInt8)patchVersion; /** * @abstract The major version indicates versions that is not-compatible to previous versions * * Required, Integer, 1 - 10 */ @property (strong, nonatomic) NSNumber *majorVersion; /** * @abstract 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 (strong, nonatomic) NSNumber *minorVersion; /** * @abstract Optional, allows backward-compatible fixes to the API without increasing the minor version of the interface * */ @property (strong, nonatomic, nullable) NSNumber *patchVersion; @end NS_ASSUME_NONNULL_END