SMAddressBookApplicationDelegate Protocol Reference

Conforms to NSObject
Declared in SMAddressBookApplicationDelegate.h

– retrieveSucceeded: required method

This is the call back method for the retrieve addressbook. This method is invoked when retrieve addressbook attempt is succeeded.

- (void)retrieveSucceeded:(NSArray<SMContact*> *)addressBook

Parameters

addressBook

list of retrieved contacts

Availability

2.0.0

Discussion

This is the call back method for the retrieve addressbook. This method is invoked when retrieve addressbook attempt is succeeded.

Declared In

SMAddressBookApplicationDelegate.h

– retrieveFailed: required method

This is the call back method for the retrieve addressbook. This method is invoked when retrieve addressbook attempt is failed.

- (void)retrieveFailed:(SMMobileError *)error

Parameters

error

definition of failure

Availability

2.0.0

Discussion

This is the call back method for the retrieve addressbook. This method is invoked when retrieve addressbook attempt is failed.

Declared In

SMAddressBookApplicationDelegate.h

– searchDirectorySucceeded:andList: required method

This is the call back method for the directory search in addressbook. This method is invoked when directory search is succeeded.

- (void)searchDirectorySucceeded:(int)directoryCount andList:(NSArray<SMContact*> *)addressesList

Parameters

directoryCount

count of retrieved results

addressesList

array of retrieved results

Availability

2.0.0

Discussion

This is the call back method for the directory search in addressbook. This method is invoked when directory search is succeeded.

Declared In

SMAddressBookApplicationDelegate.h

– searchDirectoryFailed: required method

This is the call back method for the directory search in addressbook. This method is invoked when directory search is failed.

- (void)searchDirectoryFailed:(SMMobileError *)error

Parameters

error

definiton of failure

Availability

2.0.0

Discussion

This is the call back method for the directory search in addressbook. This method is invoked when directory search is failed.

Declared In

SMAddressBookApplicationDelegate.h