VoiceProfileClient Class

Definition

  • java.lang.Object
    • AutoCloseable
      • com.microsoft.cognitiveservices.speech.speaker.VoiceProfileClient

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.

public class VoiceProfileClient

Constructors

VoiceProfileClient(SpeechConfig speechConfig)

Creates a new instance of a voice profile client.

Methods

close()

Dispose of associated resources. Note: close() must be called in order to release underlying resources held by the object.

createProfileAsync(final VoiceProfileType voiceProfileType, final String locale)

Creates a voice profile as an asynchronous operation.

deleteProfileAsync(final VoiceProfile voiceProfile)

Delete a voice profile asynchronously.

enrollProfileAsync(final VoiceProfile voiceProfile, final AudioConfig audioConfig)

Enroll a voice profile asynchronously.

getActivationPhrasesAsync(final VoiceProfileType voiceProfileType, final String locale)

Get valid activation phrases for enrollment.

getAllProfilesAsync(final VoiceProfileType voiceProfileType)

Get all voice profiles as an asynchronous operation.

getProperties()

The collection of properties and their values defined for VoiceProfileClient.

resetProfileAsync(final VoiceProfile voiceProfile)

Reset a voice profile asynchronously.

retrieveEnrollmentResultAsync(final VoiceProfile voiceProfile)

Retrieve an enrollment result given the Voice Profile.

Applies to