getAudioDeviceVolume method
Get the volume of the current audio device.
Parameter type
Device type, PanoDeviceType enum type.
Returns Current volume. Valid value ranges between 0 and 255.
获取当前音频设备的音量。
Parameter type
设备类型,PanoDeviceType 枚举类型。
Returns 当前音量。有效值范围0到255。
Implementation
@override
Future<int> getAudioDeviceVolume(AudioDeviceType type) {
return _invokeMethod('getAudioDeviceVolume', {
'type': AudioDeviceTypeConverter(type).value()
}).then((value) => value);
}