summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLStartTime.h
blob: 55eb147d6a8fd5ac5f8f0d7e991b74dcb91adf14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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