MediaCaptureInitializationSettings.AudioDeviceId MediaCaptureInitializationSettings.AudioDeviceId MediaCaptureInitializationSettings.AudioDeviceId MediaCaptureInitializationSettings.AudioDeviceId MediaCaptureInitializationSettings.AudioDeviceId Property

Definition

Gets the DeviceInformation.Id of the microphone.

public : Platform::String AudioDeviceId { get; set; }
winrt::hstring AudioDeviceId();

void AudioDeviceId(winrt::hstring audiodeviceid);
public string AudioDeviceId { get; set; }
Public ReadWrite Property AudioDeviceId As string
var string = mediaCaptureInitializationSettings.audioDeviceId;
mediaCaptureInitializationSettings.audioDeviceId = string;

Property Value

string string string

The DeviceInformation.Id of the microphone.

Additional features and requirements

Capabilities
webcam backgroundMediaRecording microphone

Remarks

This method may return a NULL pointer if the device doesn't support this functionality. For more information, see the DeviceInformation class.