getSpeakerVolumeInAPP method
- String deviceID
Get the volume of the speaker in the App, only support Windows.
Available since: 3.3.0. Description: Get the volume of the speaker in the App, only support Windows. When to call: After creating the engine createEngine. Restrictions: Only for Windows. Related APIs: Set the volume of the speaker in the App setSpeakerVolumeInAPP.
deviceID
ID of a device obtained by getAudioDeviceList.- Returns Device volume.
Implementation
Future<int> getSpeakerVolumeInAPP(String deviceID) async {
return await ZegoExpressImpl.instance.getSpeakerVolumeInAPP(deviceID);
}