onOutgoingRequestTimeout property
void Function(ZegoLiveStreamingOutgoingPKBattleRequestTimeoutEvent event, VoidCallback defaultAction)?
onOutgoingRequestTimeout
getter/setter pair
Your PK invitation has been timeout
If the invited host didn't respond after the timeout duration, the PK battle request timed out by default. While the Live Streaming Kit updates the internal state while won't trigger any default behaviors. You can receive callback notifications or customize your business logic by listening to or setting up the onOutgoingPKBattleRequestTimeout.
Implementation
void Function(
ZegoLiveStreamingOutgoingPKBattleRequestTimeoutEvent event,
VoidCallback defaultAction,
)? onOutgoingRequestTimeout;