ContactsContract class abstract

Implemented types
Implementers

Constructors

ContactsContract()

Properties

contactEvents → Stream<ContactEvent?>
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

addContact(Contact contact) → Future<Contact>
configureLogs({Level? level, LoggingHandler? onLog}) → void
deleteContact(Contact contact) → Future<bool?>
getContact(String identifier, {bool withThumbnails = true, bool withUnifyInfo = true, bool withHiResPhoto = true}) → Future<Contact?>
getContactImage(String identifier) → Future<Uint8List?>
getGroups() → Future<Iterable<Group>>
getTotalContacts({String? query, bool? phoneQuery}) → Future<int?>
listContacts({String? query, bool? phoneQuery, int bufferSize = 20, bool withThumbnails = true, bool withHiResPhoto = true, bool withUnifyInfo = false, ContactSortOrder? sortBy}) → PagingList<Contact>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openContactEditForm(dynamic identifier) → Future<Contact?>
Opens a native edit form for the contact with identifier. This can be a simple string, but you can also provide a ContactKeys instance
inherited
openContactInsertForm(Contact data) → Future<Contact?>
Opens a native insert form with data preloaded
inherited
streamContacts({String? query, bool? phoneQuery, int bufferSize = 20, bool withThumbnails = true, bool withHiResPhoto = true, bool withUnifyInfo = false, ContactSortOrder? sortBy}) → Stream<Contact>
toString() → String
A string representation of this object.
inherited
updateContact(Contact contact) → Future<Contact>

Operators

operator ==(Object other) → bool
The equality operator.
inherited