ForceTrimMode enum
A force trim mode.
Constructors
- ForceTrimMode()
-
const
Values
- always → const ForceTrimMode
-
Will always automatically present the composition tool or the trim tool after opening the editor and force your users to change the length of the video(s).
The composition tool will only be used if it is included in your subscription and if it is included in Configuration.tools or if both the composition and trim tool are not included in Configuration.tools. Otherwise, the trim tool is used if it is included in your subscription.
- ifNeeded → const ForceTrimMode
-
Will automatically present the composition or trim tool if needed. Will only present:
- the composition tool, if your initial composition is longer than TrimOptions.maximumDuration or shorter than TrimOptions.minimumDuration, or
- the trim tool, if your initial video is longer than TrimOptions.maximumDuration. If the video is shorter than TrimOptions.minimumDuration an alert is displayed as soon as the editor is opened and after dismissing the alert, the editor is closed.
The composition tool will only be used if it is included in your subscription and if it is included in Configuration.tools or if both the composition and trim tool are not included in Configuration.tools. Otherwise, the trim tool is used if it is included in your subscription.
- silent → const ForceTrimMode
-
Will automatically trim the video to TrimOptions.maximumDuration without opening any tool. If the length of the initially loaded video(s) is shorter than TrimOptions.minimumDuration and the user has the option to add more videos (because of composition), an alert will be shown when tapping the export button and after dismissing the alert, the composition tool will automatically open. If no additional videos can be added, an alert is displayed as soon as the editor is opened and after dismissing the alert, the editor is closed.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
ForceTrimMode> - A constant List of the values in this enum, in order of their declaration.