ConversationalAgentDetectorManager.GetActivationSignalDetectorFromId Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the ActivationSignalDetector object available on the system that is associated with this manager and that has the ActivationSignalDetector.DetectorId specified.
Important
To avoid possible concurrency issues, we recommend using GetActivationSignalDetectorFromIdAsync(System.String) instead.
public:
virtual ActivationSignalDetector ^ GetActivationSignalDetectorFromId(Platform::String ^ detectorId) = GetActivationSignalDetectorFromId;
ActivationSignalDetector GetActivationSignalDetectorFromId(winrt::hstring const& detectorId);
public ActivationSignalDetector GetActivationSignalDetectorFromId(string detectorId);
function getActivationSignalDetectorFromId(detectorId)
Public Function GetActivationSignalDetectorFromId (detectorId As String) As 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.
Windows requirements
Device family |
Windows 11 (introduced in 10.0.22000.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v14.0)
|