Country Detection Result
Outcome of a CountryDetector run.
Detected carries an ISO alpha-2 code rather than a com.ezzy.ccp.countrypicker.model.Country so detectors need no access to the dataset — the picker resolves the code against whatever data source is configured, and a code that is filtered out by the allow/exclude rules is simply ignored instead of forcing a disallowed country into the field.
Inheritors
Types
Link copied to clipboard
data class Detected(val iso2Code: String, val source: CountryDetectionSource) : CountryDetectionResult
A country was resolved.
Link copied to clipboard
Detection has not run yet.
Link copied to clipboard
Detection is in flight. The selector shows its loading treatment.
Link copied to clipboard
Nothing could be determined. Not an error worth showing the user.