Share via


ActivationSignalDetector.CreateConfigurationAsync Method

Definition

Asynchronously creates an ActivationSignalDetectionConfiguration object associated with the specified ActivationSignalDetectionConfiguration.SignalId and ActivationSignalDetectionConfiguration.ModelId pair and adds it to the collection of supported configurations for the detector.

public:
 virtual IAsyncAction ^ CreateConfigurationAsync(Platform::String ^ signalId, Platform::String ^ modelId, Platform::String ^ displayName) = CreateConfigurationAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction CreateConfigurationAsync(winrt::hstring const& signalId, winrt::hstring const& modelId, winrt::hstring const& displayName);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction CreateConfigurationAsync(string signalId, string modelId, string displayName);
function createConfigurationAsync(signalId, modelId, displayName)
Public Function CreateConfigurationAsync (signalId As String, modelId As String, displayName As String) As IAsyncAction

Parameters

signalId
String

Platform::String

winrt::hstring

The locale-independent identifier for this configuration.

modelId
String

Platform::String

winrt::hstring

The unique identifier, typically locale-specific, for the model data associated with this configuration.

displayName
String

Platform::String

winrt::hstring

The name of the signal in a localizable, human-readable form.

Returns

Returns an IAsyncAction object that is used to control the asynchronous operation.

Attributes

Applies to