onNetworkModeChanged property
getter/setter pair
Network mode changed callback.
Available since: 1.20.0 Description: Network mode changed callback. When to trigger: This callback will be triggered when the device's network mode changed, such as switched from WiFi to 5G, or when network is disconnected. Restrictions: None.
mode
Current network mode.
Implementation
static void Function(ZegoNetworkMode mode)? onNetworkModeChanged;