class Speaker::VoiceProfilePhraseResult

Class for VoiceProfilePhraseResult. This class represents the result of requesting valid activation phrases for speaker recognition. Added in version 1.18.0.

Members

ResultId

Syntax: public const std::string & ResultId;

Unique result id.

Reason

Syntax: public const ResultReason & Reason;

Voice profile result reason.

Properties

Syntax: public PropertyCollection & Properties;

A collection of properties and their values defined for this VoiceProfilePhraseResult.

VoiceProfilePhraseResult

Syntax: public inline explicit VoiceProfilePhraseResult ( SPXRESULTHANDLE hresult );

~VoiceProfilePhraseResult

Syntax: public inline virtual ~VoiceProfilePhraseResult ( );

GetPhrases

Syntax: public inline std::shared_ptr< std::vector< std::string > > GetPhrases ( );

Gets the activation phrases.

Returns

Vector of phrases in string form

operator SPXRESULTHANDLE

Syntax: public inline explicit operator SPXRESULTHANDLE ( );

Internal. Explicit conversion operator.

Returns

A handle.