setPlayVolume abstract method

Future<void> setPlayVolume(
  1. int audioEffectID,
  2. int volume
)

Set local play volume for a single audio effect.

Available since: 3.11.0 Description: Set local play volume for a single audio effect. When to call: The specified audioEffectID is start. Restrictions: None.

  • audioEffectID ID for the audio effect.
  • volume Volume.
    Value range: The range is 0 ~ 200.
    Default value: The default is 100.

Implementation

Future<void> setPlayVolume(int audioEffectID, int volume);