Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
CREATE/INSERT a contact with a name of "John Doe" who works at Amazon with a work email of "", Kotlinized
val insertResult = Contacts(context)
.rawContact {
setName {
givenName = "John"
familyName = "Doe"
setOrganization {
company = "Amazon"
title = "Superstar"
addEmail {
address = ""
type = Email.Type.WORK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment