diff options
Diffstat (limited to 'SmartDeviceLink/SDLStartTime.h')
-rw-r--r-- | SmartDeviceLink/SDLStartTime.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLStartTime.h b/SmartDeviceLink/SDLStartTime.h new file mode 100644 index 000000000..55eb147d6 --- /dev/null +++ b/SmartDeviceLink/SDLStartTime.h @@ -0,0 +1,49 @@ +// SDLStartTime.h +// + + +#import "SDLRPCMessage.h" + +/** + * Describes the hour, minute and second values used to set the media clock. + * + * @since SDL 1.0 + */ +@interface SDLStartTime : SDLRPCStruct { +} + +/** + * @abstract Constructs a newly allocated SDLStartTime object + */ +- (instancetype)init; + +/** + * @abstract Constructs a newly allocated SDLStartTime object indicated by the dictionary parameter + * @param dict The dictionary to use + */ +- (instancetype)initWithDictionary:(NSMutableDictionary *)dict; + +/** + * @abstract The hour of the media clock + * + * @discussion Some display types only support a max value of 19. If out of range, it will be rejected. + * + * Required, Integer, 0 - 59 + */ +@property (strong) NSNumber *hours; + +/** + * @abstract The minute of the media clock + * + * Required, Integer, 0 - 59 + */ +@property (strong) NSNumber *minutes; + +/** + * @abstract The second of the media clock + * + * Required, Integer, 0 - 59 + */ +@property (strong) NSNumber *seconds; + +@end |