getVolume abstract method
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);
Gets the current volume.
Return value:
>0
: Success, the current volume value.<0
: Failed.Call this API after RTCAudioEffectPlayer.start.
Future<int?> getVolume(int effectId);