onIncomingRequestCancelled property
dynamic Function(ZegoLiveStreamingIncomingPKBattleRequestCancelledEvent event, VoidCallback defaultAction)?
onIncomingRequestCancelled
getter/setter pair
The received PK invitation has been canceled by the inviting host event.fromHost.
You can receive callback notifications or customize your business logic by listening to or setting up the onIncomingRequestCancelled when the PK battle request has been canceled.
Implementation
Function(
ZegoLiveStreamingIncomingPKBattleRequestCancelledEvent event,
VoidCallback defaultAction,
)?
onIncomingRequestCancelled;