getVolume abstract method

Future<int?> getVolume(
  1. int effectId
)

Gets the current volume.

Return value:

  • >0: Success, the current volume value.
  • <0: Failed.

Call this API after RTCAudioEffectPlayer.start.

Implementation

Future<int?> getVolume(int effectId);