// eventdetectoroemadapter.h
typedef struct __MIDL___MIDL_itf_eventdetectoroemadapter_0000_0000_0008 {
EVENTACTIONTYPE EventdActionType;
EVENTACTIONCONTEXTTYPE EventActionContextType;
union {
float Confidence;
EVENTACTIONSCALE Scale;
HRESULT ErrorCode;
};
} EVENTACTION;
View the official Windows Driver Kit DDI referenceNo description available.
Structure used to provide detail from ParseDetectionResults.
EventdActionTypeActions to take on a detection. This is a value from the EventActionType enumeration.
EventActionContextTypeThe types of context associated with an action. This is a value from the EventActionContextType enumeration.
ConfidenceThe confidence level is a number between 0.0 and 1.0 that represents how confident the algorithm is that the keyword was detected.
ScaleThe scale as defined in the EVENTACTIONSCALE enumeration. The scale defines the quality associated with a specific detection can be used for telemetry when no confidence is available or confidence is confusing to report.
ErrorCodeAn HRESULT error code from ParseDetectionResults.
This structure is the part of the Event Detector OEM interface to be used for hardware keyword spotters. For more information, see Voice Activation.