Class User

  • All Implemented Interfaces:
    AutoCloseable

    public final class User
    extends Object
    implements AutoCloseable
    Represents a user in a conversation. Added in version 1.5.0
    • Method Detail

      • fromUserId

        public static User fromUserId​(String userId)
        Creates a User.
        Parameters:
        userId - user's Id.
        Returns:
        com.microsoft.cognitiveservices.speech.transcription.User class object
      • close

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

        public String getId()
        Gets the user ID of a conversation transcriber session.
        Returns:
        the user ID of a conversation transcribing session.
      • getImpl

        public SafeHandle getImpl()
        Returns the user configuration.
        Returns:
        The implementation of the user.