Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

AudioPlaybackConnection.GetDeviceSelector Method

Definition

Namespace:
Windows.Media.Audio

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets an Advanced Query Syntax (AQS) string for that can be used to find devices for which an AudioPlaybackConnection can be created.

public:
 static Platform::String ^ GetDeviceSelector();
 static winrt::hstring GetDeviceSelector();
public static string GetDeviceSelector();
function getDeviceSelector()
Public Shared Function GetDeviceSelector () As String

Returns

String

Platform::String

winrt::hstring

An AQS string.

Remarks

Pass the returned string to the DeviceInformation.CreateWatcher method to create a DeviceWatcher that will notify your app when devices are added or removed.

Applies to

See also

DeviceWatcher


Feedback

Was this page helpful?