ForceTrimMode enum

A force trim mode.

Inheritance

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 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

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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.