onContactInvited abstract method

void onContactInvited(
  1. String? userName,
  2. String? reason
)

收到userName的好友申请,原因是reason

Implementation

void onContactInvited(String? userName, String? reason);