Share via


CastingDevice.GetDeviceSelectorFromCastingSourceAsync(CastingSource) Method

Definition

Gets an AQS filter string to be used with the Windows.Devices.Enumeration APIs for a given CastingSource.

public:
 static IAsyncOperation<Platform::String ^> ^ GetDeviceSelectorFromCastingSourceAsync(CastingSource ^ castingSource);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<winrt::hstring> GetDeviceSelectorFromCastingSourceAsync(CastingSource const& castingSource);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<string> GetDeviceSelectorFromCastingSourceAsync(CastingSource castingSource);
function getDeviceSelectorFromCastingSourceAsync(castingSource)
Public Shared Function GetDeviceSelectorFromCastingSourceAsync (castingSource As CastingSource) As IAsyncOperation(Of String)

Parameters

castingSource
CastingSource

The casting source.

Returns

IAsyncOperation<String>

IAsyncOperation<Platform::String>

IAsyncOperation<winrt::hstring>

The AQS filter string.

Attributes

Applies to