Class BiometryGroup

ru.yandex.speechkit

public  class  BiometryGroup 

Estimated gender and age group characteristics.

Nested Classes

Methods

VoiceRequest createIdentificationRequest(@NonNull AudioSource audioSource, @NonNull final IdentificationListener listener)

Creates a request for user identification.

VoiceRequest createRegistrationRequest(@NonNull final String userUuid, @NonNull AudioSource audioSource, @NonNull final RegistrationListener listener)

Creates a request for user registration.

String getBiometryGroupUuid()

Returns the ID of the biometric group.

UniProxySession getUniProxySession()

Returns an object of the UniProxySession class that will be used for a network connection.

Method Detail

createIdentificationRequest

public VoiceRequest createIdentificationRequest (@NonNull AudioSource audioSource, @NonNull final IdentificationListener listener)

Creates a request for user identification.

The voice can be used to get the userUuid that the user was previously registered with in this biometric group.
Parameters:
audioSource

An object of the AudioSource class.

listener

An object of the RegistrationListener class.

Returns:

An object of the VoiceRequest class.

createRegistrationRequest

public VoiceRequest createRegistrationRequest (@NonNull final String userUuid, @NonNull AudioSource audioSource, @NonNull final RegistrationListener listener)

Creates a request for user registration.

Parameters:
userUuid

Unique user ID within a given biometric group.

audioSource

An object of the AudioSource class.

listener

An object of the RegistrationListener class.

Returns:

An object of the VoiceRequest class.

getBiometryGroupUuid

public String getBiometryGroupUuid ()

Returns the ID of the biometric group.

Returns:

Biometric group ID.

getUniProxySession

public UniProxySession getUniProxySession ()

Returns an object of the UniProxySession class that will be used for a network connection.

Returns:

An object of the UniProxySession class that will be used for a network connection.