Class VoiceProfileEnrollmentResult

  • All Implemented Interfaces:
    AutoCloseable

    public final class VoiceProfileEnrollmentResult
    extends Object
    implements AutoCloseable
    Defines result of voice profile enrollment.
    • Method Detail

      • getResultId

        public String getResultId()
        Presents the result identifier.
        Returns:
        The result identifier.
      • getReason

        public ResultReason getReason()
        Specifies status of enrollment result.
        Returns:
        The reason of the result.
      • getProfileId

        public String getProfileId()
        Presents the profile id in the enrollment result.
        Returns:
        The profile identifier.
      • getEnrollmentsCount

        public int getEnrollmentsCount()
        The number of enrollment audios accepted for this profile.
        Returns:
        The number of enrollment audios accepted for this profile.
      • getEnrollmentsLength

        public BigInteger getEnrollmentsLength()
        The total length of enrollment audios accepted for this profile in hundred nanoseconds.
        Returns:
        The total length of enrollment audios accepted for this profile in hundred nanoseconds.
      • getRemainingEnrollmentsCount

        public int getRemainingEnrollmentsCount()
        The number of enrollments needed to complete profile enrollment.
        Returns:
        The number of enrollments needed to complete profile enrollment.
      • 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:
        The remaining length of speech required to complete enrollment.
      • getAudioLength

        public BigInteger getAudioLength()
        This enrollment audio length in hundred nanoseconds.
        Returns:
        The audio length of this enrollment in hundred nanoseconds.
      • 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:
        The audio length of this enrollment in hundred nanoseconds.
      • 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:
        The sum of speech across all enrollments.
      • getProperties

        public PropertyCollection getProperties()
        The set of properties exposed in the result.
        Returns:
        The set of properties exposed in the result.
      • getCreatedTime

        public String getCreatedTime()
        A textual representation of the created time of the voice profile.
        Returns:
        The created time of the voice profile.
      • getLastUpdatedDateTime

        public String getLastUpdatedDateTime()
        A textual representation of the last updated time of the voice profile.
        Returns:
        The last updated time of the voice profile.
      • close

        public void close()
        Explicitly frees any external resource attached to the object
        Specified by:
        close in interface AutoCloseable
      • toString

        public String toString()
        Returns a String that represents the voice enrollment result.
        Overrides:
        toString in class Object
        Returns:
        A String that represents the voice enrollment result.
      • getImpl

        public SafeHandle getImpl()
        Returns the voice enrollment result implementation.
        Returns:
        The implementation of the result.