setContactListener method

void setContactListener(
  1. ContactListener listener
)

Register a contact event listener. The listener is owned by you and must remain in scope.

Implementation

void setContactListener(ContactListener listener) {
  contactManager.contactListener = listener;
}