Data Row Builder
abstract class DataRowBuilder(val mimeType: String, val dataRowUri: Uri, val rawContactId: Long?, val contact: Contact, val readOnly: Boolean)
Builder for a data row to insert into the Android contact provider.
Parameters
mime Type
the type of data in this row, see ContactsContract.CommonDataKinds
data Row Uri
data row URI, including callerIsSyncAdapter=… if required
raw Contact Id
not null: raw contact ID to assign this data row to; null: data row will be assigned to back reference with index 0 (= result ID of the first operation in batch, which must be the insert operation to insert the raw contact)
contact
which contact this data row belongs to
read Only
whether the data row is read-only (write protected). When the address book is read-only, all contacts inside are too, and so the contact's data rows should be as well.