summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLRegisterAppInterfaceResponse.h
diff options
context:
space:
mode:
authorMuller, Alexander (A.) <amulle19@ford.com>2016-12-22 12:47:27 -0500
committerMuller, Alexander (A.) <amulle19@ford.com>2016-12-22 12:47:27 -0500
commit38d57ad153e9ad1d554333ffc2cb3fed9b9e94a5 (patch)
tree1c04402b710069047911dd6a273697eb36ad45df /SmartDeviceLink/SDLRegisterAppInterfaceResponse.h
parentf3f1abc532e359b69290d1944723f865f2ff8358 (diff)
downloadsdl_ios-38d57ad153e9ad1d554333ffc2cb3fed9b9e94a5.tar.gz
Added in nullable annotation for responses.
Diffstat (limited to 'SmartDeviceLink/SDLRegisterAppInterfaceResponse.h')
-rw-r--r--SmartDeviceLink/SDLRegisterAppInterfaceResponse.h39
1 files changed, 22 insertions, 17 deletions
diff --git a/SmartDeviceLink/SDLRegisterAppInterfaceResponse.h b/SmartDeviceLink/SDLRegisterAppInterfaceResponse.h
index aac85c457..782a68908 100644
--- a/SmartDeviceLink/SDLRegisterAppInterfaceResponse.h
+++ b/SmartDeviceLink/SDLRegisterAppInterfaceResponse.h
@@ -25,6 +25,9 @@
*
* Since SmartDeviceLink 1.0
*/
+
+NS_ASSUME_NONNULL_BEGIN
+
@interface SDLRegisterAppInterfaceResponse : SDLRPCResponse
/**
@@ -32,7 +35,7 @@
*
* Optional
*/
-@property (strong) SDLSyncMsgVersion *syncMsgVersion;
+@property (nullable, strong) SDLSyncMsgVersion *syncMsgVersion;
/**
* The currently active VR+TTS language on Sync.
@@ -41,7 +44,7 @@
*
* Optional
*/
-@property (strong) SDLLanguage language;
+@property (nullable, strong) SDLLanguage language;
/**
* The currently active display language on Sync
@@ -51,21 +54,21 @@
*
* Optional
*/
-@property (strong) SDLLanguage hmiDisplayLanguage;
+@property (nullable, strong) SDLLanguage hmiDisplayLanguage;
/**
* @see SDLDisplayCapabilities
*
* Optional
*/
-@property (strong) SDLDisplayCapabilities *displayCapabilities;
+@property (nullable, strong) SDLDisplayCapabilities *displayCapabilities;
/**
* @see SDLButtonCapabilities
*
* Optional, Array of length 1 - 100, of SDLButtonCapabilities
*/
-@property (strong) NSMutableArray<SDLButtonCapabilities *> *buttonCapabilities;
+@property (nullable, strong) NSMutableArray<SDLButtonCapabilities *> *buttonCapabilities;
/**
* If returned, the platform supports on-screen SoftButtons
@@ -74,7 +77,7 @@
*
* Optional, Array of length 1 - 100, of SDLSoftButtonCapabilities
*/
-@property (strong) NSMutableArray<SDLSoftButtonCapabilities *> *softButtonCapabilities;
+@property (nullable, strong) NSMutableArray<SDLSoftButtonCapabilities *> *softButtonCapabilities;
/**
* If returned, the platform supports custom on-screen Presets
@@ -83,42 +86,42 @@
*
* Optional
*/
-@property (strong) SDLPresetBankCapabilities *presetBankCapabilities;
+@property (nullable, strong) SDLPresetBankCapabilities *presetBankCapabilities;
/**
* @see SDLHMIZoneCapabilities
*
* Optional, Array of length 1 - 100, of SDLHMIZoneCapabilities
*/
-@property (strong) NSMutableArray<SDLHMIZoneCapabilities> *hmiZoneCapabilities;
+@property (nullable, strong) NSMutableArray<SDLHMIZoneCapabilities> *hmiZoneCapabilities;
/**
* @see SDLSpeechCapabilities
*
* Optional, Array of length 1 - 100, of SDLSpeechCapabilities
*/
-@property (strong) NSMutableArray<SDLSpeechCapabilities> *speechCapabilities;
+@property (nullable, strong) NSMutableArray<SDLSpeechCapabilities> *speechCapabilities;
/**
* @see SDLPrerecordedSpeech
*
* Optional, Array of length 1 - 100, of SDLPrerecordedSpeech
*/
-@property (strong) NSMutableArray<SDLPrerecordedSpeech> *prerecordedSpeech;
+@property (nullable, strong) NSMutableArray<SDLPrerecordedSpeech> *prerecordedSpeech;
/**
* @see SDLVRCapabilities
*
* Optional, Array of length 1 - 100, of SDLVRCapabilities
*/
-@property (strong) NSMutableArray<SDLVRCapabilities> *vrCapabilities;
+@property (nullable, strong) NSMutableArray<SDLVRCapabilities> *vrCapabilities;
/**
* @see SDLAudioPassThruCapabilities
*
* Optional, Array of length 1 - 100, of SDLAudioPassThruCapabilities
*/
-@property (strong) NSMutableArray<SDLAudioPassThruCapabilities *> *audioPassThruCapabilities;
+@property (nullable, strong) NSMutableArray<SDLAudioPassThruCapabilities *> *audioPassThruCapabilities;
/**
* Specifies the vehicle's type
@@ -127,35 +130,37 @@
*
* Optional, Array of length 1 - 100, of SDLVehicleType
*/
-@property (strong) SDLVehicleType *vehicleType;
+@property (nullable, strong) SDLVehicleType *vehicleType;
/**
* Specifies the white-list of supported diagnostic modes (0x00-0xFF) capable for DiagnosticMessage requests. If a mode outside this list is requested, it will be rejected.
*
* Optional, Array of length 1 - 100, Integer 0 - 255
*/
-@property (strong) NSMutableArray<NSNumber<SDLInt> *> *supportedDiagModes;
+@property (nullable, strong) NSMutableArray<NSNumber<SDLInt> *> *supportedDiagModes;
/**
* @see SDLHMICapabilities
*
* Optional
*/
-@property (strong) SDLHMICapabilities *hmiCapabilities;
+@property (nullable, strong) SDLHMICapabilities *hmiCapabilities;
/**
* The SmartDeviceLink version
*
* Optional, String max length 100
*/
-@property (strong) NSString *sdlVersion;
+@property (nullable, strong) NSString *sdlVersion;
/**
* The software version of the system that implements the SmartDeviceLink core
*
* Optional, String max length 100
*/
-@property (strong) NSString *systemSoftwareVersion;
+@property (nullable, strong) NSString *systemSoftwareVersion;
@end
+
+NS_ASSUME_NONNULL_END