Platform SDK: Agent |
HRESULT GetItemConfidence( long dwItemIndex, // index of Command alternative long * plConfidence // address of confidence value for Command );
Retrieves the confidence value for a Command passed to an IAgentNotifySink::Command callback.
If voice input was not the source for the command, for example, if the user selected the command from the character's pop-up menu, the Microsoft Agent server returns the confidence value of the best match as 100 and the confidence values for all other alternatives as zero (0).
IAgentUserInput::GetItemID, IAgentUserInput::GetAllItemData, IAgentUserInput::GetItemText