VoiceProfileClient Class
- java.
lang. Object - com.
microsoft. cognitiveservices. speech. speaker. VoiceProfileClient
- com.
Implements
public final class VoiceProfileClient
implements java.lang.AutoCloseable
A voice profile client performs voice profile management for speaker recognition. Note: close() must be called in order to release underlying resources held by the object.
Constructor | Description |
---|---|
Voice |
Creates a new instance of a voice profile client. |
Modifier and Type | Method and Description |
---|---|
void |
close()
Dispose of associated resources. |
java.util.concurrent.Future<Voice |
create Creates a voice profile as an asynchronous operation. |
java.util.concurrent.Future<Voice |
delete Delete a voice profile asynchronously. |
java.util.concurrent.Future<Voice |
enroll Enroll a voice profile asynchronously. |
java.util.concurrent.Future<Voice |
get Get valid activation phrases for enrollment. |
java.util.concurrent.Future<java.util.List<Voice |
get Get all voice profiles as an asynchronous operation. |
Safe |
get Internal method to get the underlying native handle. |
Property |
get The collection of properties and their values defined for Voice |
java.util.concurrent.Future<Voice |
reset Reset a voice profile asynchronously. |
java.util.concurrent.Future<Voice |
retrieve Retrieve an enrollment result given the Voice Profile. |
VoiceProfileClient
public VoiceProfileClient(SpeechConfig speechConfig)
Creates a new instance of a voice profile client.
Parameters:
close
public void close()
Dispose of associated resources. Note: close() must be called in order to release underlying resources held by the object.
createProfileAsync
public Future
Creates a voice profile as an asynchronous operation.
Parameters:
Returns:
deleteProfileAsync
public Future
Delete a voice profile asynchronously.
Parameters:
Returns:
enrollProfileAsync
public Future
Enroll a voice profile asynchronously.
Parameters:
Returns:
getActivationPhrasesAsync
public Future
Get valid activation phrases for enrollment.
Parameters:
Returns:
getAllProfilesAsync
public Future> getAllProfilesAsync(VoiceProfileType voiceProfileType)
Get all voice profiles as an asynchronous operation.
Parameters:
Returns:
getImpl
public SafeHandle getImpl()
Internal method to get the underlying native handle.
Returns:
getProperties
public PropertyCollection getProperties()
The collection of properties and their values defined for VoiceProfileClient.
Returns:
resetProfileAsync
public Future
Reset a voice profile asynchronously.
Parameters:
Returns:
retrieveEnrollmentResultAsync
public Future
Retrieve an enrollment result given the Voice Profile.
Parameters:
Returns:
Azure SDK for Java geri bildirimi
Azure SDK for Java, açık kaynak bir projedir. Geri bildirim sağlamak için bir bağlantı seçin: