getVolume method
@detail api @brief Gets the current volume. @param type See AudioMixingType{@link #AudioMixingType}. @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(AudioMixingType type) async {
return await nativeCall('getVolume', [type.$value]);
}