Class SpeakerRecognitionResult

  • All Implemented Interfaces:
    AutoCloseable

    public final class SpeakerRecognitionResult
    extends Object
    implements AutoCloseable
    Defines result of speaker recognition.
    • Method Detail

      • getResultId

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

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

        public String getProfileId()
        Presents the recognized profile id.
        Returns:
        The profile identifier.
      • getScore

        public Double getScore()
        Presents the similarity score of the recognized speaker. The score is a float number indicating the similarity between input audio and targeted voice profile.This number is between 0 and 1. A higher number means higher similarity.
        Returns:
        The similarity score of the recognized speaker.
      • getProperties

        public PropertyCollection getProperties()
        The set of properties exposed in the result.
        Returns:
        The set of properties exposed in the result.
      • 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 speaker recognition result.
        Overrides:
        toString in class Object
        Returns:
        A String that represents the speaker recognition result.
      • getImpl

        public SafeHandle getImpl()
        Returns the speaker recognition result implementation.
        Returns:
        The implementation of the result.