onCustomLinkInteractionClick property

CustomLinkInteractionClickCallback? get onCustomLinkInteractionClick

This callback is triggered when the user clicks the link interaction in livestream.

The host app can customize the click event processing logic of the link interaction by setting the callback.

Implementation

CustomLinkInteractionClickCallback? get onCustomLinkInteractionClick =>
    _onCustomLinkInteractionClick;
set onCustomLinkInteractionClick (CustomLinkInteractionClickCallback? value)

Implementation

set onCustomLinkInteractionClick(CustomLinkInteractionClickCallback? value) {
  _onCustomLinkInteractionClick = value;
  final nativeMethodName =
      LiveStreamNativeMethodName.setCustomLinkInteractionClickEnabled.name;
  FWMethodChannelUtil.getLiveStreamMethodChannel().invokeMethod(
    nativeMethodName,
    value != null,
  );
}