networkTypeChanged property

NetworkTypeCallback? networkTypeChanged
getter/setter pair

Occurs when the local network type changes. This callback occurs when the connection state of the local user changes. You can get the connection state and reason for the state change in this callback. When the network connection is interrupted, this callback indicates whether the interruption is caused by a network type change or poor network conditions.

Param type The type of the local network connection.

Implementation

NetworkTypeCallback? networkTypeChanged;