AudioPlaybackConnection.GetDeviceSelector Metodo

Definizione

Ottiene una stringa AQS (Advanced Query Syntax) per che può essere usata per trovare i dispositivi per i quali è possibile creare un oggetto AudioPlaybackConnection .

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

Restituisce

String

Platform::String

winrt::hstring

Stringa AQS.

Commenti

Passare la stringa restituita al metodo DeviceInformation.CreateWatcher per creare un DeviceWatcher che notifica all'app quando i dispositivi vengono aggiunti o rimossi.

Si applica a

Vedi anche

DeviceWatcher