SpeechRecoContext PropertyStringChange Event (SAPI 5.4)

Microsoft Speech API 5.4

Interface: ISpeechRecoContext Events

PropertyStringChange Event

The PropertyStringChange event occurs when the speech recognition (SR) engine detects a change in a property String value.

The SAPI 5 SR engine does not support any properties with associated string values. However, other manufacturer's engines could. See ISpeechRecognizer.GetPropertyNumber for a related and similar feature.

  
    SpeechRecoContext.PropertyStringChange(
     StreamNumber As Long,
     StreamPosition As Variant,
     PropertyName As String,
     NewStringValue As String
)

Parameters

  • StreamNumber
    The stream number.
  • StreamPosition
    The stream position.
  • PropertyName
    Specifies the value of property Name.
  • NewNumberValue
    The new String value of the property.

Example

See ISpeechRecognizer.GetPropertyNumber for a related code sample.