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.

intdescribeContents()
floatgetAdultFemaleScore()

Returns an estimate of whether the user is a female aged 20-55.

floatgetAdultMaleScore()

Returns an estimate of whether the user is a male aged 20-55.

floatgetChildScore()

Returns an estimate of whether the user is a child under 14.

floatgetSeniorFemaleScore()

Returns an estimate of whether the user is a female over 55.

floatgetSeniorMaleScore()

Returns an estimate of whether the user is a male over 55.

floatgetYoungFemaleScore()

Returns an estimate of whether the user is a young female aged 14-20.

floatgetYoungMaleScore()

Returns an estimate of whether the user is a young male aged 14-20.

StringtoString()
voidwriteToParcel(android.os.Parcel parcel, int i)

Fields

final Parcelable.CreatorCREATOR

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.

Parameters:
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.

Parameters:
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)

Field Detail

CREATOR

public static CREATOR = new Parcelable.Creator() { public Group createFromParcel(android.os.Parcel parcel) { return new Group(parcel); } public Group[] newArray(int size) { return new Group[size]; } }