fromWebRTCConnectionType

fun fromWebRTCConnectionType(connectionType: NetworkChangeDetector.ConnectionType): NetworkConnectionType

Maps a WebRTC-specific ConnectionType enum to this SDK-friendly NetworkConnectionType.

Return

Corresponding NetworkConnectionType.

Parameters

connectionType

The WebRTC ConnectionType reported by NetworkMonitor.