class Speaker::VoiceProfileEnrollmentResult

class Speaker::VoiceProfileEnrollmentResult
  : public RecognitionResult

Represents the result of an enrollment. Added in version 1.12.0.

Members

ProfileId

Syntax: public const std::string & ProfileId;

The profile id of the speaker in the enrollment.

VoiceProfileEnrollmentResult

Syntax: public inline explicit VoiceProfileEnrollmentResult ( SPXRESULTHANDLE hresult );

Creates a new instance using the provided handle.

Parameters

  • hresult Result handle.

~VoiceProfileEnrollmentResult

Syntax: public inline virtual ~VoiceProfileEnrollmentResult ( );

Destructor.

GetCreatedTime

Syntax: public inline const std::string & GetCreatedTime ( ) const;

Retrieve a textual representation of the created time of the voice profile.

Returns

GetLastUpdatedDateTime

Syntax: public inline const std::string & GetLastUpdatedDateTime ( ) const;

Retrieve a textual representation of the last updated time of the voice profile.

Returns

GetEnrollmentInfo

Syntax: public inline uint64_t GetEnrollmentInfo ( EnrollmentInfoType type ) const;

Enrollment information in ticks. A single tick represents one hundred nanoseconds or one ten-millionth of a second.

Parameters

  • type an enum of EnrollmentInfoType.

Returns

Duration of recognized speech in ticks.