Dela via


SpatialAudioDeviceConfiguration.GetForDeviceId(String) Method

Definition

Creates a SpatialAudioDeviceConfiguration for the given device ID.

public:
 static SpatialAudioDeviceConfiguration ^ GetForDeviceId(Platform::String ^ deviceId);
 static SpatialAudioDeviceConfiguration GetForDeviceId(winrt::hstring const& deviceId);
public static SpatialAudioDeviceConfiguration GetForDeviceId(string deviceId);
function getForDeviceId(deviceId)
Public Shared Function GetForDeviceId (deviceId As String) As SpatialAudioDeviceConfiguration

Parameters

deviceId
String

Platform::String

winrt::hstring

The device ID of the device to represent.

Returns

The SpatialAudioDeviceConfiguration for the device.

Applies to