Signature
Interface UseTimelineMarkersResultProperties
| Name | Signature | Description |
|---|---|---|
addMarker | (time: RationalTime, label?: string, color?: string, description?: string): TimelineCommandResult<object> | Adds a marker at a timeline time. |
addMarkerAtPlayhead | (label?: string, color?: string, description?: string): TimelineCommandResult<object> | Adds a marker at the current playhead. |
markers | markers: typeOperator | Current timeline markers sorted by time. |
removeMarker | (id: string): TimelineCommandResult | Removes a marker by id. |
seekToMarker | (id: string): TimelineCommandResult<object> | Moves the playhead to a marker by id. |
seekToNextMarker | (): TimelineCommandResult<object> | Moves the playhead to the next marker after the current playhead. |
seekToPreviousMarker | (): TimelineCommandResult<object> | Moves the playhead to the previous marker before the current playhead. |
updateMarker | (id: string, updates: TimelineMarkerUpdate): TimelineCommandResult<object> | Updates marker metadata by id. |