VideoEffectObject class abstract
Used to manage and configure video effects, such as beauty, makeup styles, and filters.
Since Available since v6.6.2.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addOrUpdateVideoEffect(
{required int nodeId, required String templateName}) → Future< void> - Adds or updates the effect for the specified video effect node and template.
-
getVideoEffectBoolParam(
{required String option, required String key}) → Future< bool> - Gets the boolean parameter from the video effect.
-
getVideoEffectFloatParam(
{required String option, required String key}) → Future< double> - Gets the value of the specified float type parameter in a video effect.
-
getVideoEffectIntParam(
{required String option, required String key}) → Future< int> - Gets the integer parameter from the video effect.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
performVideoEffectAction(
{required int nodeId, required VideoEffectAction actionId}) → Future< void> - Performs an action on the specified video effect node.
-
removeVideoEffect(
int nodeId) → Future< void> - Removes the video effect for the specified node ID.
-
setVideoEffectBoolParam(
{required String option, required String key, required bool param}) → Future< void> - Sets a boolean parameter for a video effect.
-
setVideoEffectFloatParam(
{required String option, required String key, required double param}) → Future< void> - Sets a float parameter for a video effect.
-
setVideoEffectIntParam(
{required String option, required String key, required int param}) → Future< void> - setVideoEffectIntParam : Sets an integer parameter for a video effect.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited