Describes the hour, minute and second values used to set the media clock.
@since SDL 1.0
Create a time struct with a time interval (time in seconds). Fractions of the second will be eliminated and rounded down.
- (nonnull instancetype)initWithTimeInterval:(NSTimeInterval)timeInterval;
init(timeInterval: TimeInterval)
The time interval to transform into hours, minutes, seconds
The object
Create a time struct with hours, minutes, and seconds
- (nonnull instancetype)initWithHours:(UInt8)hours
minutes:(UInt8)minutes
seconds:(UInt8)seconds;
init(hours: UInt8, minutes: UInt8, seconds: UInt8)
The number of hours
The number of minutes
The number of seconds
The object
The hour of the media clock
Some display types only support a max value of 19. If out of range, it will be rejected.
Required, Integer, 0 - 59
@property (nonatomic, strong) NSNumber<SDLInt> *_Nonnull hours;
var hours: NSNumber & SDLInt { get set }
The minute of the media clock
Required, Integer, 0 - 59
@property (nonatomic, strong) NSNumber<SDLInt> *_Nonnull minutes;
var minutes: NSNumber & SDLInt { get set }
The second of the media clock
Required, Integer, 0 - 59
@property (nonatomic, strong) NSNumber<SDLInt> *_Nonnull seconds;
var seconds: NSNumber & SDLInt { get set }