Class User
- java.lang.Object
-
- com.microsoft.cognitiveservices.speech.transcription.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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Explicitly frees any external resource attached to the objectstatic UserfromUserId(String userId)Creates a User.StringgetId()Gets the user ID of a conversation transcriber session.SafeHandlegetImpl()Returns the user configuration.
-
-
-
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:
closein interfaceAutoCloseable
-
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.
-
-