Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

SDLSyncMsgVersion Class Reference

Section Contents

Overview

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

-initWithMajorVersion:minorVersion:patchVersion:

Undocumented

Objective-C

- (instancetype)initWithMajorVersion:(UInt8)majorVersion minorVersion:(UInt8)minorVersion patchVersion:(UInt8)patchVersion;

Swift

init(majorVersion: UInt8, minorVersion: UInt8, patchVersion: UInt8)

majorVersion

The major version indicates versions that is not-compatible to previous versions

Required, Integer, 1 - 10

Objective-C

@property (readwrite, strong, nonatomic) NSNumber<SDLInt> *_Nonnull majorVersion;

Swift

var majorVersion: NSNumber & SDLInt { get set }

minorVersion

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

Objective-C

@property (readwrite, strong, nonatomic) NSNumber<SDLInt> *_Nonnull minorVersion;

Swift

var minorVersion: NSNumber & SDLInt { get set }

patchVersion

Allows backward-compatible fixes to the API without increasing the minor version of the interface

Optional, Integer, 0 - 1000

Objective-C

@property (readwrite, strong, nonatomic, nullable)
    NSNumber<SDLInt> *patchVersion;

Swift

var patchVersion: (NSNumber & SDLInt)? { get set }
View on GitHub.com
Previous Section Next Section