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

SDLVersion Class Reference

Section Contents

Overview

Undocumented

major

Undocumented

Objective-C

@property (nonatomic, assign) NSUInteger major

Swift

var major: UInt { get set }

minor

Undocumented

Objective-C

@property (nonatomic, assign) NSUInteger minor

Swift

var minor: UInt { get set }

patch

Undocumented

Objective-C

@property (nonatomic, assign) NSUInteger patch

Swift

var patch: UInt { get set }

stringVersion

Undocumented

Objective-C

@property (nonatomic, copy, readonly) NSString *stringVersion

Swift

var stringVersion: String { get }

-initWithMajor:minor:patch:

Undocumented

Objective-C

- (instancetype)initWithMajor:(NSUInteger)major minor:(NSUInteger)minor patch:(NSUInteger)patch;

Swift

init(major: UInt, minor: UInt, patch: UInt)

+versionWithMajor:minor:patch:

Undocumented

Objective-C

+ (instancetype)versionWithMajor:(NSUInteger)major minor:(NSUInteger)minor patch:(NSUInteger)patch;

-initWithString:

Undocumented

Objective-C

- (nullable instancetype)initWithString:(NSString *)versionString;

Swift

init?(string versionString: String)

+versionWithString:

Undocumented

Objective-C

+ (nullable instancetype)versionWithString:(NSString *)versionString;

-initWithSyncMsgVersion:

Undocumented

Objective-C

- (instancetype)initWithSyncMsgVersion:(SDLSyncMsgVersion *)syncMsgVersion;

Swift

init(syncMsgVersion: SDLSyncMsgVersion)

+versionWithSyncMsgVersion:

Undocumented

Objective-C

+ (instancetype)versionWithSyncMsgVersion:(SDLSyncMsgVersion *)syncMsgVersion;

-compare:

Undocumented

Objective-C

- (NSComparisonResult)compare:(SDLVersion *)otherVersion;

Swift

func compare(_ otherVersion: SDLVersion) -> ComparisonResult

-isLessThanVersion:

Undocumented

Objective-C

- (BOOL)isLessThanVersion:(SDLVersion *)otherVersion;

Swift

func isLessThanVersion(_ otherVersion: SDLVersion) -> Bool

-isEqualToVersion:

Undocumented

Objective-C

- (BOOL)isEqualToVersion:(SDLVersion *)otherVersion;

Swift

func isEqual(to otherVersion: SDLVersion) -> Bool

-isGreaterThanVersion:

Undocumented

Objective-C

- (BOOL)isGreaterThanVersion:(SDLVersion *)otherVersion;

Swift

func isGreaterThanVersion(_ otherVersion: SDLVersion) -> Bool

-isGreaterThanOrEqualToVersion:

Undocumented

Objective-C

- (BOOL)isGreaterThanOrEqualToVersion:(SDLVersion *)otherVersion;

Swift

func isGreaterThanOrEqual(to otherVersion: SDLVersion) -> Bool

-isLessThanOrEqualToVersion:

Undocumented

Objective-C

- (BOOL)isLessThanOrEqualToVersion:(SDLVersion *)otherVersion;

Swift

func isLessThanOrEqual(to otherVersion: SDLVersion) -> Bool
View on GitHub.com
Previous Section Next Section