-
- All Implemented Interfaces:
-
android.os.Parcelable,java.lang.Comparable
public class MatchResult implements Parcelable, Comparable<MatchResult>
-
-
Field Summary
Fields Modifier and Type Field Description private intconfidenceprivate MatchStrengthstrengthpublic final static Parcelable.Creator<MatchResult>CREATOR
-
Constructor Summary
Constructors Constructor Description MatchResult(int confidence, MatchStrength strength)
-
Method Summary
Modifier and Type Method Description intgetConfidence()MatchStrengthgetStrength()intdescribeContents()voidwriteToParcel(Parcel dest, int flags)intcompareTo(@NonNull() MatchResult o)booleanequals(Object o)-
-
Constructor Detail
-
MatchResult
MatchResult(int confidence, MatchStrength strength)
- Parameters:
confidence- An int containing the (matching) confidencestrength- Interpretation of the confidence in terms of MatchStrength
-
-
Method Detail
-
getConfidence
int getConfidence()
-
getStrength
MatchStrength getStrength()
-
describeContents
int describeContents()
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
-
compareTo
int compareTo(@NonNull() MatchResult o)
-
-
-
-