setAudioCaptureDeviceVolume method
@detail api
@author dixing
@brief Set the current audio capture device volume
@param volume Audio capture device volume. The range is 0,255.
- 0,25: nearly silent;
- 25,75: low volume;
- 76,204: medium volume;
- 205,255: high volume.
@return Method call result
- 0: Success. The volume information returned by rtcEngine:onLocalAudioPropertiesReport:{@link #ByteRTCEngineDelegate#rtcEngine:onLocalAudioPropertiesReport} will be changed according to this value.
- < 0: failure
Implementation
FutureOr<int> setAudioCaptureDeviceVolume(int volume) async {
return await nativeCall('setAudioCaptureDeviceVolume:', [volume]);
}