Platform SDK: Agent |
HRESULT SetConfidenceThreshold( long lConfidence // Confidence setting for Command );
Sets the value of the Confidence property for a Command.
If the confidence value returned of the best match returned in the Command event does not exceed the value set for the ConfidenceThreshold property, the text supplied in SetConfidenceText is displayed in the Listening Tip.
IAgentCommand::GetConfidenceThreshold, IAgentCommand::SetConfidenceText, IAgentUserInput::GetItemConfidence