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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
// SDLSetMediaClockTimer.h
//
#import "SDLRPCRequest.h"
#import "SDLUpdateMode.h"
@class SDLStartTime;
/**
* Sets the media clock/timer value and the update method (e.g.count-up,
* count-down, etc.)
* <p>
* Function Group: Base <p>
* <b>HMILevel needs to be FULL, LIMITIED or BACKGROUND</b>
* </p>
*
* Since SmartDeviceLink 1.0
*/
NS_ASSUME_NONNULL_BEGIN
@interface SDLSetMediaClockTimer : SDLRPCRequest
- (instancetype)initWithUpdateMode:(SDLUpdateMode)updateMode hours:(NSInteger)hours minutes:(NSInteger)minutes seconds:(NSInteger)seconds;
- (instancetype)initWithUpdateMode:(SDLUpdateMode)updateMode;
/**
* @abstract A Start Time with specifying hour, minute, second values
*
* @discussion A startTime object with specifying hour, minute, second values
* <p>
* <b>Notes: </b>
* <ul>
* <li>If "updateMode" is COUNTUP or COUNTDOWN, this parameter
* must be provided</li>
* <li>Will be ignored for PAUSE/RESUME and CLEAR</li>
* </ul>
*/
@property (nullable, strong) SDLStartTime *startTime;
/**
* @abstract An END time of type SDLStartTime, specifying hour, minute, second values
*
* @discussion An SDLStartTime object with specifying hour, minute, second values
*/
@property (nullable, strong) SDLStartTime *endTime;
/**
* @abstract The media clock/timer update mode (COUNTUP/COUNTDOWN/PAUSE/RESUME)
*
* @discussion a Enumeration value (COUNTUP/COUNTDOWN/PAUSE/RESUME)
* <p>
* <b>Notes: </b>
* <ul>
* <li>When updateMode is PAUSE, RESUME or CLEAR, the start time value
* is ignored</li>
* <li>When updateMode is RESUME, the timer resumes counting from
* the timer's value when it was paused</li>
* </ul>
*/
@property (strong) SDLUpdateMode updateMode;
@end
NS_ASSUME_NONNULL_END
|