getCurrentDeviceVolume abstract method

int getCurrentDeviceVolume(
  1. TXMediaDeviceType type
)

Getting the Volume of the Current Device (for Desktop OS)

This API is used to get the capturing volume of the mic or playback volume of the speaker, but not the volume of the camera.

Implementation

int getCurrentDeviceVolume(TXMediaDeviceType type);