getAudioDeviceList method

Future<List<ZegoDeviceInfo>> getAudioDeviceList(
  1. ZegoAudioDeviceType deviceType
)

Gets a list of audio devices.

Only for Windows / macOS / Web

  • deviceType Audio device type
  • Returns Audo device List

Implementation

Future<List<ZegoDeviceInfo>> getAudioDeviceList(
    ZegoAudioDeviceType deviceType) async {
  return await ZegoExpressImpl.instance.getAudioDeviceList(deviceType);
}