- onCompleted
- Action called after the user has interacte with the permissions dialog.
User's must give applications permission to access the AddressBook.ABAddressBook. This is done with a standard permissions dialog that is shown asynchronously (if necessary) by calling this asynchronous. The onCompleted Action is called after the user has interacted with the dialog.
C# Example
NSError error;
addressBook = ABAddressBook.Create (out error);
if (addressBook != null) {
addressBook.RequestAccess (delegate (bool granted, NSError accessError) {
InvokeOnMainThread(() => accessStatus.Text = "Access " + (granted ? "allowed" : "denied"));
});
}