AudioDeviceInfo

Represents information about an audio device (microphone).

This is a specialized subclass of DeviceInfo with the Kind automatically set to audio and no facing mode.

Obtain audio device information using getAudioDevices.

Code Example:


Set<AudioDeviceInfo> audioDevices = VideoSDK.getAudioDevices();
for (AudioDeviceInfo device : audioDevices) {
    if (device.getLabel().contains("SPEAKER_PHONE")) {
        VideoSDK.setSelectedAudioDevice(device);
        break;
    }
}

See also

VideoSDK.getSelectedAudioDevice()

Constructors

Link copied to clipboard
constructor(label: String, deviceId: String)
Creates a new audio device info instance.

Inherited properties

Link copied to clipboard
The unique identifier for this device.
Link copied to clipboard
The facing direction for camera devices, or null for audio devices.
Link copied to clipboard
val kind: Kind
The kind of this device (audio or video).
Link copied to clipboard
The human-readable label for this device (e.g., "Front Camera", "Built-in Microphone").