setAudioDeviceVolume abstract method
Set the volume of the current audio device.
Parameter volume
Valid value ranges between 0 and 255.
Parameter type
Device type, PanoDeviceType enum type.
Returns
- ResultCode.OK Success
- others: Failure
设置当前音频设备的音量。
Parameter volume
有效值范围0到255。
Parameter type
设备类型,PanoDeviceType 枚举类型。
Returns
- ResultCode.OK 成功
- 其他: 失败
Implementation
Future<ResultCode> setAudioDeviceVolume(int volume, AudioDeviceType type);