diff options
Diffstat (limited to 'SmartDeviceLink/SDLVehicleType.h')
-rw-r--r-- | SmartDeviceLink/SDLVehicleType.h | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLVehicleType.h b/SmartDeviceLink/SDLVehicleType.h new file mode 100644 index 000000000..1a934b5eb --- /dev/null +++ b/SmartDeviceLink/SDLVehicleType.h @@ -0,0 +1,62 @@ +// SDLVehicleType.h +// + + +#import "SDLRPCMessage.h" + +/** + * Describes the type of vehicle the mobile phone is connected with. + * + * @since SDL 2.0 + */ +@interface SDLVehicleType : SDLRPCStruct { +} + +/** + * @abstract Constructs a newly allocated SDLVehicleType object + */ +- (instancetype)init; + +/** + * @abstract Constructs a newly allocated SDLVehicleType object indicated by the dictionary parameter + * @param dict The dictionary to use + */ +- (instancetype)initWithDictionary:(NSMutableDictionary *)dict; + +/** + * @abstract The make of the vehicle + * + * @discussion For example, "Ford", "Lincoln", etc. + * + * Optional, Max String length 500 chars + */ +@property (strong) NSString *make; + +/** + * @abstract The model of the vehicle + * + * @discussion For example, "Fiesta", "Focus", etc. + * + * Optional, Max String length 500 chars + */ +@property (strong) NSString *model; + +/** + * @abstract The model year of the vehicle + * + * @discussion For example, "2013" + * + * Optional, Max String length 500 chars + */ +@property (strong) NSString *modelYear; + +/** + * @abstract The trim of the vehicle + * + * @discussion For example, "SE", "SEL" + * + * Optional, Max String length 500 chars + */ +@property (strong) NSString *trim; + +@end |