NewContactLifeCycle
Introduction
The life cycle hooks for new contact business logic.
Parameter introduction
shouldAcceptContactApplication
Parameter type : Future< bool > Function(String userID)
Supported Platform: All
- Parameter description : Before accepting a friend or contact requirement from other user,
true
means can accept continually, whilefalse
will not accept. You can make a second confirmation here by a modal, etc.
shouldRefuseContactApplication
Parameter type : Future< bool > Function(String userID)
Supported Platform: All
- Parameter description : Before refusing a friend or contact requirement from other user,
true
means can refuse continually, whilefalse
will not refuse. You can make a second confirmation here by a modal, etc.