SpeechRecoContext EnginePrivate Event (SAPI 5.3)
Interface: ISpeechRecoContext Events
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 )
- Specifies the stream number.
- Specifies the position within the stream.
- 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.
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.