onCustomQuestionTermsAndConditionsClick property
This callback is triggered when the user clicks the question terms and conditions link in livestream.
The host app can customize the click event processing logic of the question terms and conditions link by setting the callback.
Implementation
CustomQuestionTermsAndConditionsClickCallback?
get onCustomQuestionTermsAndConditionsClick =>
_onCustomQuestionTermsAndConditionsClick;
Implementation
set onCustomQuestionTermsAndConditionsClick(
CustomQuestionTermsAndConditionsClickCallback? value) {
_onCustomQuestionTermsAndConditionsClick = value;
final nativeMethodName = LiveStreamNativeMethodName
.setCustomQuestionTermsAndConditionsClickEnabled.name;
FWMethodChannelUtil.getLiveStreamMethodChannel().invokeMethod(
nativeMethodName,
value != null,
);
}