Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 46 additions & 2 deletions src/premierepro.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ export declare type premierepro = {
VideoFilterFactory: VideoFilterFactoryStatic;
VideoTrack: VideoTrackStatic;
VideoTransition: VideoTransitionStatic;
WorkAreaUtils: WorkAreaUtilsStatic;
EventManager: EventManagerStatic;
Transcript: TranscriptStatic;
Constants: typeof Constants;
Expand Down Expand Up @@ -3149,12 +3150,12 @@ export declare type Sequence = {
getEndTime(): Promise<TickTime>;

/**
* Get time representing the inPoint of sequence.
* Get time representing the in point of the sequence.
*/
getInPoint(): Promise<TickTime>;

/**
* Get time representing the inPoint of sequence.
* Get time representing the out point of the sequence.
*/
getOutPoint(): Promise<TickTime>;

Expand Down Expand Up @@ -4356,6 +4357,49 @@ export declare type VideoTransitionStatic = {

export declare type VideoTransition = {};

export declare type WorkAreaUtilsStatic = {
/**
* Get the work area in point of the sequence.
*
* @param sequence
*/
getWorkAreaInPoint(sequence: Sequence): TickTime;

/**
* Get the work area out point of the sequence.
*
* @param sequence
*/
getWorkAreaOutPoint(sequence: Sequence): TickTime;

/**
* Set the work area in point of the sequence.
*
* @param sequence
* @param tickTime
*/
setWorkAreaInPoint(sequence: Sequence, tickTime: TickTime): boolean;

/**
* Set the work area out point of the sequence.
*
* @param sequence
* @param tickTime
*/
setWorkAreaOutPoint(sequence: Sequence, tickTime: TickTime): boolean;

/**
* Set the work area in and out points of the sequence.
*
* @param sequence
* @param inTickTime
* @param outTickTime
*/
setWorkAreaInOutPoints(sequence: Sequence, inTickTime: TickTime, outTickTime: TickTime): boolean;
};

export declare type WorkAreaUtils = {};

export declare type EventManagerStatic = {
/**
* add event listener to target object
Expand Down