Dela via


ActivationSignalDetector.GetAvailableModelIdsForSignalIdAsync(String) Method

Definition

Asynchronously gets the collection of model identifiers available to this detector for the specified signal identifier. For example, all supported locales for language-specific versions of the "Hey Cortana" keyword.

public:
 virtual IAsyncOperation<IVector<Platform::String ^> ^> ^ GetAvailableModelIdsForSignalIdAsync(Platform::String ^ signalId) = GetAvailableModelIdsForSignalIdAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IVector<winrt::hstring>> GetAvailableModelIdsForSignalIdAsync(winrt::hstring const& signalId);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IList<string>> GetAvailableModelIdsForSignalIdAsync(string signalId);
function getAvailableModelIdsForSignalIdAsync(signalId)
Public Function GetAvailableModelIdsForSignalIdAsync (signalId As String) As IAsyncOperation(Of IList(Of String))

Parameters

signalId
String

Platform::String

winrt::hstring

The locale-independent identifier for this configuration.

Returns

The collection of model identifiers available for the specified signal.

Attributes

Windows requirements

Device family
Windows 11 (introduced in 10.0.22000.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v14.0)

Applies to