Package-level declarations
Contains the PlatformHelperContacts class to add and remove contacts in Android ContactsProvider using a contentResolver. It also contains the data classes TypedPhoneNumber that will be linked to contacts.
Types
Link copied to clipboard
class PlatformHelperContacts(context: Context, account: Account? = Account(ACCOUNT_SOURCE_NAME, ACCOUNT_SOURCE_TYPE))
Util class to add and remove contacts in Android ContactsProvider using a contentResolver. Each contact added to the specified Account.
Link copied to clipboard
TypedAddress is a pair value address and a type. type shall be a value from the list provided by Android, see ContactsContract.CommonDataKinds.StructuredPostal.TYPE_HOME.
Link copied to clipboard
TypedPhoneNumber is a pair value phoneNumber and a type. type shall be a value from the list provided by Android, see ContactsContract.CommonDataKinds.Phone.TYPE_HOME.