Timeline Studio API Documentation - v0.26.0
Preparing search index...
features/timeline/hooks/use-timeline-actions
UseTimelineActionsReturn
Interface UseTimelineActionsReturn
interface
UseTimelineActionsReturn
{
addMediaToTimeline
:
(
files
:
MediaFile
[]
)
=>
void
;
addSingleMediaToTimeline
:
(
file
:
MediaFile
,
targetTrackId
?:
string
,
startTime
?:
number
,
)
=>
void
;
calculateClipStartTime
:
(
trackId
:
string
)
=>
number
;
findBestTrackForMedia
:
(
file
:
MediaFile
)
=>
string
;
getTrackTypeForMedia
:
(
file
:
MediaFile
)
=>
TrackType
;
}
Index
Properties
add
Media
To
Timeline
add
Single
Media
To
Timeline
calculate
Clip
Start
Time
find
Best
Track
For
Media
get
Track
Type
For
Media
Properties
add
Media
To
Timeline
addMediaToTimeline
:
(
files
:
MediaFile
[]
)
=>
void
add
Single
Media
To
Timeline
addSingleMediaToTimeline
:
(
file
:
MediaFile
,
targetTrackId
?:
string
,
startTime
?:
number
,
)
=>
void
calculate
Clip
Start
Time
calculateClipStartTime
:
(
trackId
:
string
)
=>
number
find
Best
Track
For
Media
findBestTrackForMedia
:
(
file
:
MediaFile
)
=>
string
get
Track
Type
For
Media
getTrackTypeForMedia
:
(
file
:
MediaFile
)
=>
TrackType
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Properties
add
Media
To
Timeline
add
Single
Media
To
Timeline
calculate
Clip
Start
Time
find
Best
Track
For
Media
get
Track
Type
For
Media
Timeline Studio API Documentation - v0.26.0
Loading...