getVolume method
@detail api @brief Gets the current volume. @param type See ByteRTCAudioMixingType{@link #ByteRTCAudioMixingType}. @return - >0: Success, the current volume. - < 0: Failed. @note Call this API only when audio is mixing, including media file mixing and PCM mixing.
Implementation
FutureOr<int> getVolume(ByteRTCAudioMixingType type) async {
return await nativeCall('getVolume:', [type.$value]);
}