diff options
author | Joel Fischer <joeljfischer@gmail.com> | 2019-02-19 14:05:27 -0500 |
---|---|---|
committer | Joel Fischer <joeljfischer@gmail.com> | 2019-02-19 14:05:27 -0500 |
commit | 7bc7854584482709f5bc96a0546e90791cfc322e (patch) | |
tree | 0fc2b1a0d4771f2cb5b93ea131da50857318f9f2 /SmartDeviceLink/SDLLifecycleConfiguration.h | |
parent | b8c4c353ac4dbf34baedae1985d9ee78325535f3 (diff) | |
download | sdl_ios-7bc7854584482709f5bc96a0546e90791cfc322e.tar.gz |
Create SDLVersion object and transition existing code
Diffstat (limited to 'SmartDeviceLink/SDLLifecycleConfiguration.h')
-rw-r--r-- | SmartDeviceLink/SDLLifecycleConfiguration.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLLifecycleConfiguration.h b/SmartDeviceLink/SDLLifecycleConfiguration.h index a558c0dea..878895416 100644 --- a/SmartDeviceLink/SDLLifecycleConfiguration.h +++ b/SmartDeviceLink/SDLLifecycleConfiguration.h @@ -14,6 +14,7 @@ @class SDLFile; @class SDLTemplateColorScheme; @class SDLTTSChunk; +@class SDLVersion; NS_ASSUME_NONNULL_BEGIN @@ -167,6 +168,16 @@ NS_ASSUME_NONNULL_BEGIN */ @property (copy, nonatomic, nullable) SDLTemplateColorScheme *nightColorScheme; +/** + The minimum protocol version that will be permitted to connect. This defaults to 1.0.0. If the protocol version of the head unit connected is below this version, the app will disconnect with an EndService protocol message and will not register. + */ +@property (strong, nonatomic) SDLVersion *minimumProtocolVersion; + +/** + The minimum RPC version that will be permitted to connect. This defaults to 1.0.0. If the RPC version of the head unit connected is below this version, an UnregisterAppInterface will be sent. + */ +@property (strong, nonatomic) SDLVersion *minimumRPCVersion; + @end NS_ASSUME_NONNULL_END |