![]() |
Tuya iOS Smart Life App SDK 5.15.0
|
#import <ThingTimelineView.h>
Instance Methods | |
(void) | - enableSelectionModeWithMinLength:maxLength: |
(NSRange) | - finishSelection |
exit selection mode More... | |
(void) | - setCurrentTime:animated: |
set current time More... | |
(void) | - enableSelectionModeWithMinLength:maxLength: |
(NSRange) | - finishSelection |
exit selection mode More... | |
(void) | - setCurrentTime:animated: |
set current time More... | |
Properties | |
CGFloat | spacePerUnit |
the space of two long tick mark More... | |
ThingTimelineUnitMode | unitMode |
the seconds of two long tick mark More... | |
UIColor * | tickMarkColor |
color of tick mark More... | |
NSArray * | backgroundGradientColors |
NSArray * | backgroundGradientLocations |
UIColor * | contentColor |
time slice source color More... | |
NSArray * | contentGradientColors |
NSArray * | contentGradientLocations |
NSArray * | eventGradientColors |
CGFloat | timeHeaderHeight |
height of the time text bar in the top More... | |
CGFloat | timeTextTop |
top space of the time text bar More... | |
NSDictionary * | timeStringAttributes |
time text attributes More... | |
BOOL | showTimeText |
is show the time string More... | |
BOOL | showShortMark |
is show short tick mark between two long tick mark More... | |
NSTimeInterval | currentTime |
selected time More... | |
NSDate * | date |
the day More... | |
NSTimeZone * | timeZone |
time zone More... | |
BOOL | isDragging |
is being dragging More... | |
BOOL | isDecelerating |
is continue moving afterwards More... | |
UIColor * | midLineColor |
color of selection line at the midle More... | |
UIColor * | selectionBoxColor |
tint color of selection box More... | |
NSRange | selectedTimeRange |
selected time range More... | |
BOOL | isSelectionEnabled |
is in selection mode More... | |
UIColor * | selectionTimeBackgroundColor |
the selected time when dragging selection box More... | |
UIColor * | selectionTimeTextColor |
NSUInteger | selectionTimeTextFontSize |
NSArray< id< ThingTimelineViewSource > > * | sourceModels |
time slices More... | |
NSArray< id< ThingTimelineViewSource > > * | AIDetectionSourceModels |
ai detection datasource More... | |
NSArray * | aiEventContentGradientColors |
ai background color More... | |
id< ThingTimelineViewDelegate > | delegate |
delegate More... | |
Definition at line 45 of file ThingTimelineView.h.
- (void) enableSelectionModeWithMinLength: | (NSInteger) | min | |
maxLength: | (NSInteger) | max | |
enable selection mode
min | min seconds to selected |
max | max seconds to selected |
- (void) enableSelectionModeWithMinLength: | (NSInteger) | min | |
maxLength: | (NSInteger) | max | |
enable selection mode
min | min seconds to selected |
max | max seconds to selected |
- (NSRange) finishSelection |
exit selection mode
- (NSRange) finishSelection |
exit selection mode
- (void) setCurrentTime: | (NSTimeInterval) | currentTime | |
animated: | (BOOL) | animated | |
set current time
- (void) setCurrentTime: | (NSTimeInterval) | currentTime | |
animated: | (BOOL) | animated | |
set current time
|
readwritenonatomiccopy |
ai detection datasource
Definition at line 114 of file ThingTimelineView.h.
|
readwritenonatomiccopy |
ai background color
Definition at line 117 of file ThingTimelineView.h.
|
readwritenonatomicstrong |
Definition at line 56 of file ThingTimelineView.h.
|
readwritenonatomicstrong |
Definition at line 57 of file ThingTimelineView.h.
|
readwritenonatomicstrong |
time slice source color
Definition at line 60 of file ThingTimelineView.h.
|
readwritenonatomiccopy |
Definition at line 62 of file ThingTimelineView.h.
|
readwritenonatomicstrong |
Definition at line 63 of file ThingTimelineView.h.
|
readwritenonatomicassign |
selected time
Definition at line 81 of file ThingTimelineView.h.
|
readwritenonatomicstrong |
the day
Definition at line 84 of file ThingTimelineView.h.
|
readwritenonatomicweak |
delegate
Definition at line 119 of file ThingTimelineView.h.
|
readwritenonatomiccopy |
Definition at line 64 of file ThingTimelineView.h.
|
readnonatomicassign |
is continue moving afterwards
Definition at line 93 of file ThingTimelineView.h.
|
readnonatomicassign |
is being dragging
Definition at line 90 of file ThingTimelineView.h.
|
readnonatomicassign |
is in selection mode
Definition at line 103 of file ThingTimelineView.h.
|
readwritenonatomicstrong |
color of selection line at the midle
Definition at line 96 of file ThingTimelineView.h.
|
readnonatomicassign |
selected time range
Definition at line 101 of file ThingTimelineView.h.
|
readwritenonatomicstrong |
tint color of selection box
Definition at line 99 of file ThingTimelineView.h.
|
readwritenonatomicstrong |
the selected time when dragging selection box
Definition at line 106 of file ThingTimelineView.h.
|
readwritenonatomicstrong |
Definition at line 107 of file ThingTimelineView.h.
|
readwritenonatomicassign |
Definition at line 108 of file ThingTimelineView.h.
|
readwritenonatomicassign |
is show short tick mark between two long tick mark
Definition at line 78 of file ThingTimelineView.h.
|
readwritenonatomicassign |
is show the time string
Definition at line 75 of file ThingTimelineView.h.
|
readwritenonatomiccopy |
time slices
Definition at line 111 of file ThingTimelineView.h.
|
readwritenonatomicassign |
the space of two long tick mark
Definition at line 48 of file ThingTimelineView.h.
|
readwritenonatomicstrong |
color of tick mark
Definition at line 54 of file ThingTimelineView.h.
|
readwritenonatomicassign |
height of the time text bar in the top
Definition at line 67 of file ThingTimelineView.h.
|
readwritenonatomicstrong |
time text attributes
Definition at line 72 of file ThingTimelineView.h.
|
readwritenonatomicassign |
top space of the time text bar
Definition at line 69 of file ThingTimelineView.h.
|
readwritenonatomicstrong |
time zone
Definition at line 87 of file ThingTimelineView.h.
|
readwritenonatomicassign |
the seconds of two long tick mark
Definition at line 51 of file ThingTimelineView.h.