FieldClassification.Match
public
static
final
class
FieldClassification.Match
extends Object
java.lang.Object | |
↳ | android.service.autofill.FieldClassification.Match |
Represents the score of a UserData
entry for the field.
Summary
Public methods | |
---|---|
String
|
getCategoryId()
Gets the category id of the |
float
|
getScore()
Gets a classification score for the value of this field compared to the value of the
|
String
|
toString()
Returns a string representation of the object. |
Inherited methods | |
---|---|
Public methods
getCategoryId
public String getCategoryId ()
Gets the category id of the UserData
entry.
Returns | |
---|---|
String |
This value cannot be null . |
getScore
public float getScore ()
Gets a classification score for the value of this field compared to the value of the
UserData
entry.
The score is based in a comparison of the field value and the user data entry, and it
ranges from 0.0F
to 1.0F
:
1.0F
represents a full match (100%
).0.0F
represents a full mismatch (0%
).- Any other value is a partial match.
How the score is calculated depends on the
algorithm
used.
Returns | |
---|---|
float |
toString
public String toString ()
Returns a string representation of the object.
Returns | |
---|---|
String |
a string representation of the object. |