From 38d57ad153e9ad1d554333ffc2cb3fed9b9e94a5 Mon Sep 17 00:00:00 2001 From: "Muller, Alexander (A.)" Date: Thu, 22 Dec 2016 12:47:27 -0500 Subject: Added in nullable annotation for responses. --- SmartDeviceLink/SDLRegisterAppInterfaceResponse.h | 39 +++++++++++++---------- 1 file changed, 22 insertions(+), 17 deletions(-) (limited to 'SmartDeviceLink/SDLRegisterAppInterfaceResponse.h') 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 *buttonCapabilities; +@property (nullable, strong) NSMutableArray *buttonCapabilities; /** * If returned, the platform supports on-screen SoftButtons @@ -74,7 +77,7 @@ * * Optional, Array of length 1 - 100, of SDLSoftButtonCapabilities */ -@property (strong) NSMutableArray *softButtonCapabilities; +@property (nullable, strong) NSMutableArray *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 *hmiZoneCapabilities; +@property (nullable, strong) NSMutableArray *hmiZoneCapabilities; /** * @see SDLSpeechCapabilities * * Optional, Array of length 1 - 100, of SDLSpeechCapabilities */ -@property (strong) NSMutableArray *speechCapabilities; +@property (nullable, strong) NSMutableArray *speechCapabilities; /** * @see SDLPrerecordedSpeech * * Optional, Array of length 1 - 100, of SDLPrerecordedSpeech */ -@property (strong) NSMutableArray *prerecordedSpeech; +@property (nullable, strong) NSMutableArray *prerecordedSpeech; /** * @see SDLVRCapabilities * * Optional, Array of length 1 - 100, of SDLVRCapabilities */ -@property (strong) NSMutableArray *vrCapabilities; +@property (nullable, strong) NSMutableArray *vrCapabilities; /** * @see SDLAudioPassThruCapabilities * * Optional, Array of length 1 - 100, of SDLAudioPassThruCapabilities */ -@property (strong) NSMutableArray *audioPassThruCapabilities; +@property (nullable, strong) NSMutableArray *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 *> *supportedDiagModes; +@property (nullable, strong) NSMutableArray *> *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 -- cgit v1.2.1