VoiceProfileEnrollmentResult Class
- java.
lang. Object - com.
microsoft. cognitiveservices. speech. speaker. VoiceProfileEnrollmentResult
- com.
Implements
public final class VoiceProfileEnrollmentResult
implements java.lang.AutoCloseable
Defines result of voice profile enrollment.
Method Summary
Modifier and Type | Method and Description |
---|---|
void |
close()
Explicitly frees any external resource attached to the object |
java.math.BigInteger |
getAudioLength()
This enrollment audio length in hundred nanoseconds. |
java.math.BigInteger |
getAudioSpeechLength()
This enrollment audio pure speech(which is the amount of audio after removing silence and non - speech segments) length in hundred nanoseconds. |
java.lang.String |
getCreatedTime()
A textual representation of the created time of the voice profile. |
int |
getEnrollmentsCount()
The number of enrollment audios accepted for this profile. |
java.math.BigInteger |
getEnrollmentsLength()
The total length of enrollment audios accepted for this profile in hundred nanoseconds. |
java.math.BigInteger |
getEnrollmentsSpeechLength()
The summation of pure speech(which is the amount of audio after removing silence and non - speech segments) across all profile enrollments in hundred nanoseconds. |
Safe |
getImpl()
Returns the voice enrollment result implementation. |
java.lang.String |
getLastUpdatedDateTime()
A textual representation of the last updated time of the voice profile. |
java.lang.String |
getProfileId()
Presents the profile id in the enrollment result. |
Property |
getProperties()
The set of properties exposed in the result. |
Result |
getReason()
Specifies status of enrollment result. |
int |
getRemainingEnrollmentsCount()
The number of enrollments needed to complete profile enrollment. |
java.math.BigInteger |
getRemainingEnrollmentsSpeechLength()
The amount of pure speech (which is the amount of audio after removing silence and non-speech segments) needed to complete profile enrollment in hundred nanoseconds. |
java.lang.String |
getResultId()
Presents the result identifier. |
java.lang.String |
toString()
Returns a String that represents the voice enrollment result. |
Methods inherited from java.lang.Object
Method Details
close
public void close()
Explicitly frees any external resource attached to the object
getAudioLength
public BigInteger getAudioLength()
This enrollment audio length in hundred nanoseconds.
Returns:
getAudioSpeechLength
public BigInteger getAudioSpeechLength()
This enrollment audio pure speech(which is the amount of audio after removing silence and non - speech segments) length in hundred nanoseconds.
Returns:
getCreatedTime
public String getCreatedTime()
A textual representation of the created time of the voice profile.
Returns:
getEnrollmentsCount
public int getEnrollmentsCount()
The number of enrollment audios accepted for this profile.
Returns:
getEnrollmentsLength
public BigInteger getEnrollmentsLength()
The total length of enrollment audios accepted for this profile in hundred nanoseconds.
Returns:
getEnrollmentsSpeechLength
public BigInteger getEnrollmentsSpeechLength()
The summation of pure speech(which is the amount of audio after removing silence and non - speech segments) across all profile enrollments in hundred nanoseconds.
Returns:
getImpl
public SafeHandle getImpl()
Returns the voice enrollment result implementation.
Returns:
getLastUpdatedDateTime
public String getLastUpdatedDateTime()
A textual representation of the last updated time of the voice profile.
Returns:
getProfileId
public String getProfileId()
Presents the profile id in the enrollment result.
Returns:
getProperties
public PropertyCollection getProperties()
The set of properties exposed in the result.
Returns:
getReason
public ResultReason getReason()
Specifies status of enrollment result.
Returns:
getRemainingEnrollmentsCount
public int getRemainingEnrollmentsCount()
The number of enrollments needed to complete profile enrollment.
Returns:
getRemainingEnrollmentsSpeechLength
public BigInteger getRemainingEnrollmentsSpeechLength()
The amount of pure speech (which is the amount of audio after removing silence and non-speech segments) needed to complete profile enrollment in hundred nanoseconds.
Returns:
getResultId
public String getResultId()
Presents the result identifier.
Returns:
toString
public String toString()
Returns a String that represents the voice enrollment result.
Overrides:
VoiceProfileEnrollmentResult.toString()Returns: