File tree Expand file tree Collapse file tree 3 files changed +32
-13
lines changed Expand file tree Collapse file tree 3 files changed +32
-13
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -698,6 +698,8 @@ Boolean
698
698
699
699
` app.getFrontend().addEventListener("onBatchItemCreationFailed") `
700
700
701
+ #### Description
702
+
701
703
The event will be sent after batch item creation failed.
702
704
703
705
Can be used for the following [ FrontendScript Object] ( #frontendscriptobject ) APIs:
@@ -741,6 +743,8 @@ if (frontend) {
741
743
742
744
` app.getFrontend().addEventListener("onItemAddedToBatch") `
743
745
746
+ #### Description
747
+
744
748
The event will be sent after a batch item has been created successfully.
745
749
746
750
Can be used for all [ FrontendScript Object] ( #frontendscriptobject ) APIs which creates a batch item.
Original file line number Diff line number Diff line change @@ -110,3 +110,31 @@ if (watchFolderObj) {
110
110
$ .writeln (" Watch folder object is not valid" );
111
111
}
112
112
```
113
+
114
+ ---
115
+
116
+ ## Events
117
+
118
+ ### onEncodeComplete
119
+
120
+ ` app.getWatchFolder().addEventListener("onEncodeComplete") `
121
+
122
+ #### Description
123
+
124
+ Notify when the watchfolder job item is complete.
125
+
126
+ #### Properties
127
+
128
+ | Property | Type | Description |
129
+ | ------------- | ------ | -------------------- |
130
+ | ` elapsedTime ` | Float | The encoding elapsed time, in milliseconds |
131
+
132
+ ---
133
+
134
+ ### onEncodeError
135
+
136
+ ` app.getWatchFolder().addEventListener("onEncodeError") `
137
+
138
+ #### Description
139
+
140
+ Notify when the watchfolder job encode fails.
You can’t perform that action at this time.
0 commit comments