Class Biometry.Group
ru.yandex.speechkit
java.lang.Object ⇽ Biometry.Group
public class Biometry.Group implements android.os.Parcelable
- All Implemented Interfaces:
- android.os.Parcelable
- Enclosing Class:
- Biometry
Estimated gender and age group characteristics.
Methods
Group(final float childScore, final float youngMaleScore, final float youngFemaleScore, final float adultMaleScore, final float adultFemaleScore, final float seniorMaleScore, final float seniorFemaleScore) | Creates an object of the Group class. | |
Group(@NonNull final android.os.Parcel parcel) | Creates an object of the Group class. | |
int | describeContents() | |
float | getAdultFemaleScore() | Returns an estimate of whether the user is a female aged 20-55. |
float | getAdultMaleScore() | Returns an estimate of whether the user is a male aged 20-55. |
float | getChildScore() | Returns an estimate of whether the user is a child under 14. |
float | getSeniorFemaleScore() | Returns an estimate of whether the user is a female over 55. |
float | getSeniorMaleScore() | Returns an estimate of whether the user is a male over 55. |
float | getYoungFemaleScore() | Returns an estimate of whether the user is a young female aged 14-20. |
float | getYoungMaleScore() | Returns an estimate of whether the user is a young male aged 14-20. |
String | toString() | |
void | writeToParcel(android.os.Parcel parcel, int i) |
Group(final float childScore, final float youngMaleScore, final float youngFemaleScore, final float adultMaleScore, final float adultFemaleScore, final float seniorMaleScore, final float seniorFemaleScore) | Creates an object of the Group class. | |
Group(@NonNull final android.os.Parcel parcel) | Creates an object of the Group class. | |
int | describeContents() | |
float | getAdultFemaleScore() | Returns an estimate of whether the user is a female aged 20-55. |
float | getAdultMaleScore() | Returns an estimate of whether the user is a male aged 20-55. |
float | getChildScore() | Returns an estimate of whether the user is a child under 14. |
float | getSeniorFemaleScore() | Returns an estimate of whether the user is a female over 55. |
float | getSeniorMaleScore() | Returns an estimate of whether the user is a male over 55. |
float | getYoungFemaleScore() | Returns an estimate of whether the user is a young female aged 14-20. |
float | getYoungMaleScore() | Returns an estimate of whether the user is a young male aged 14-20. |
String | toString() | |
void | writeToParcel(android.os.Parcel parcel, int i) |
Fields
Method Detail
Group
public Group (final float childScore, final float youngMaleScore, final float youngFemaleScore, final float adultMaleScore, final float adultFemaleScore, final float seniorMaleScore, final float seniorFemaleScore)
Creates an object of the Group class.
childScore | Estimates whether the user is a child under 14. |
youngMaleScore | Estimates whether the user is a young male aged 14-20. |
youngFemaleScore | Estimates whether the user is a young female aged 14-20. |
adultMaleScore | Estimates whether the user is a male aged 20-55. |
adultFemaleScore | Estimates whether the user is a female aged 20-55. |
seniorMaleScore | Estimates whether the user is a male over 55. |
seniorFemaleScore | Estimates whether the user is a female over 55. |
childScore | Estimates whether the user is a child under 14. |
youngMaleScore | Estimates whether the user is a young male aged 14-20. |
youngFemaleScore | Estimates whether the user is a young female aged 14-20. |
adultMaleScore | Estimates whether the user is a male aged 20-55. |
adultFemaleScore | Estimates whether the user is a female aged 20-55. |
seniorMaleScore | Estimates whether the user is a male over 55. |
seniorFemaleScore | Estimates whether the user is a female over 55. |
Group
public Group (@NonNull final android.os.Parcel parcel)
Creates an object of the Group class.
parcel | A service object for state serialization. |
parcel | A service object for state serialization. |
describeContents
public int describeContents ()
getAdultFemaleScore
public float getAdultFemaleScore ()
Returns an estimate of whether the user is a female aged 20-55.
Returns:
Estimates whether the user is a female aged 20-55.
getAdultMaleScore
public float getAdultMaleScore ()
Returns an estimate of whether the user is a male aged 20-55.
Returns:
Estimates whether the user is a male aged 20-55.
getChildScore
public float getChildScore ()
Returns an estimate of whether the user is a child under 14.
Returns:
Estimates whether the user is a child under 14.
getSeniorFemaleScore
public float getSeniorFemaleScore ()
Returns an estimate of whether the user is a female over 55.
Returns:
Estimates whether the user is a female over 55.
getSeniorMaleScore
public float getSeniorMaleScore ()
Returns an estimate of whether the user is a male over 55.
Returns:
Estimates whether the user is a male over 55.
getYoungFemaleScore
public float getYoungFemaleScore ()
Returns an estimate of whether the user is a young female aged 14-20.
Returns:
Estimates whether the user is a young female aged 14-20.
getYoungMaleScore
public float getYoungMaleScore ()
Returns an estimate of whether the user is a young male aged 14-20.
Returns:
Estimates whether the user is a young male aged 14-20.
toString
public String toString ()
writeToParcel
public void writeToParcel (android.os.Parcel parcel, int i)