Jaa


MediaDevice.GetDefaultAudioRenderId(AudioDeviceRole) Method

Definition

Returns the identifier string of the default device for rendering audio in the specified role.

public:
 static Platform::String ^ GetDefaultAudioRenderId(AudioDeviceRole role);
 static winrt::hstring GetDefaultAudioRenderId(AudioDeviceRole const& role);
public static string GetDefaultAudioRenderId(AudioDeviceRole role);
function getDefaultAudioRenderId(role)
Public Shared Function GetDefaultAudioRenderId (role As AudioDeviceRole) As String

Parameters

role
AudioDeviceRole

The specified audio device role (console, media, or communications).

Returns

String

Platform::String

winrt::hstring

The identifier string of the default device.

Applies to