getVideoEffectFloatParam

Retrieves float type parameters in video effects.

float getVideoEffectFloatParam(String option, String key);
Since:
Available since v4.6.0.

Used to retrieve the value of a float type parameter corresponding to the specified option and key in video effects.

Restrictions

None.

Parameters

option
The identifier of the parameter category.
key
The key name of the parameter.

Returns

  • If the method call succeeds, returns the current float value.
  • If the method call fails, returns 0.0f.