Share via


ConversationalAgentDetectorManager.GetActivationSignalDetectorFromIdAsync Method

Definition

Asynchronously retrieves the ActivationSignalDetector object available on the system that is associated with this manager and that has the ActivationSignalDetector.DetectorId specified.

public:
 virtual IAsyncOperation<ActivationSignalDetector ^> ^ GetActivationSignalDetectorFromIdAsync(Platform::String ^ detectorId) = GetActivationSignalDetectorFromIdAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<ActivationSignalDetector> GetActivationSignalDetectorFromIdAsync(winrt::hstring const& detectorId);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<ActivationSignalDetector> GetActivationSignalDetectorFromIdAsync(string detectorId);
function getActivationSignalDetectorFromIdAsync(detectorId)
Public Function GetActivationSignalDetectorFromIdAsync (detectorId As String) As IAsyncOperation(Of ActivationSignalDetector)

Parameters

detectorId
String

Platform::String

winrt::hstring

The unique identifier of the ActivationSignalDetector.

Returns

The hardware or software component that generated the activation signal based on input from the user's environment, such as spoken keyword(s), sound detection, or button press.

Attributes

Windows requirements

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

Applies to

See also