Show / Hide Table of Contents

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 true if you would also like to get a user notes for the contact. Please note that including the notes field requires an entitlement since IOS 13. The default value is false

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.

In This Article
Back to top Generated by DocFX