Bewerken

Delen via


DETECTIONEVENT structure (eventdetectoroemadapter.h)

Structure to specify uniquely supported detection events available.

Syntax

typedef struct __MIDL___MIDL_itf_eventdetectoroemadapter_0000_0000_0003 {
  DETECTIONEVENTID EventId;
  EVENTFEATURES    EventFeat;
  EVENTPROVIDERID  ProviderId;
  WCHAR            DisplayName[100];
  BOOL             UserModelValid;
} DETECTIONEVENT;

Members

EventId

A unique identifier for the keyword or audio event. This value is provided by Microsoft.

EventFeat

The event features.

ProviderId

The provider Id. This value is provided by Microsoft.

DisplayName[100]

The display name.

UserModelValid

A boolean value indicating if the User Mode Model training is valid. FALSE if user model retraining is required for this event.

Remarks

This structure is the part of the Event Detector OEM interface to be used for hardware keyword spotters. For more information, see Voice Activation.

Requirements

Requirement Value
Header eventdetectoroemadapter.h

See also