Country Search Field
Fields com.ezzy.ccp.countrypicker.data.CountrySearchEngine matches a query against.
Narrowing this set is a way to make search stricter — for example a residence picker that should not match dial codes can pass setOf(Name, Iso2, Iso3, AlternativeNames).
Entries
Country.displayName, accent-folded. Also the only field that produces a highlight range.
Country.iso2Code, prefix match ("ke" → Kenya).
Country.iso3Code, prefix match ("ken" → Kenya).
Country.dialCode, with or without the leading + ("254" and "+254" → Kenya).
Country.alternativeNames, substring match ("uae" → United Arab Emirates).
Properties
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.