Interface UM_iContactsService
Contacts related API service. Shared service instance is available via ContactsService
Namespace: SA.CrossPlatform.App
Assembly: cs.temp.dll.dll
Syntax
public interface UM_iContactsService
Methods
GetContactsCount()
Get contacts count from a device contacts book.
Declaration
int GetContactsCount()
Returns
Type | Description |
---|---|
System.Int32 | Count of contacts. |
Retrieve(Action<UM_ContactsResult>, Boolean)
Retrieves all contacts from a device contacts book.
Declaration
void Retrieve(Action<UM_ContactsResult> callback, bool includeNotes = false)
Parameters
Type | Name | Description |
---|---|---|
Action<UM_ContactsResult> | callback | Operation callback. |
System.Boolean | includeNotes | Set to |
RetrieveContacts(Int32, Int32, Action<UM_ContactsResult>)
Retrieves all contacts from a device contacts book.
Declaration
void RetrieveContacts(int index, int count, Action<UM_ContactsResult> callback)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | Start index. |
System.Int32 | count | Contacts count to retrieve. |
Action<UM_ContactsResult> | callback | Operation callback. |