Microsoft Speech Platform
Interface: ISpeechRecoContext Events
EnginePrivate Event
The EnginePrivate event occurs when a speech recognition engine (SR) raises a private event.
A private event is a custom event defined by the SR engine. This event allows engines to define a specialized event beyond the standard suite of events. Engines are not required support this event. The SAPI 5 Microsoft engines do not use the EnginePrivate event. If using another manufacturer's engine, check their documentation for possible implementation of this event.
SpeechRecoContext.EnginePrivate(
StreamNumber As Long,
StreamPosition As Variant,
EngineData As Variant
)
Parameters
- StreamNumber
- Specifies the stream number.
- StreamPosition
- Specifies the position within the stream.
- EngineData
- Specifies the private EngineData. This is a Variant data type and is specific to the manufacturer's design. Check the manufacturer's documentation for complete details.
Example
No sample code is available. The event is unique to manufacturer's engines and will vary among engines. The SAPI 5 Microsoft engines do not use the EnginePrivate event.