package org.webrtc; import androidx.annotation.Nullable; import java.util.List; /* loaded from: classes3.dex */ public interface NetworkChangeDetector { /* loaded from: classes3.dex */ public enum ConnectionType { CONNECTION_UNKNOWN, CONNECTION_ETHERNET, CONNECTION_WIFI, CONNECTION_5G, CONNECTION_4G, CONNECTION_3G, CONNECTION_2G, CONNECTION_UNKNOWN_CELLULAR, CONNECTION_BLUETOOTH, CONNECTION_VPN, CONNECTION_NONE } /* loaded from: classes3.dex */ public static class IPAddress { public final byte[] address; public IPAddress(byte[] bArr) { this.address = bArr; } @CalledByNative("IPAddress") private byte[] getAddress() { return this.address; } } /* loaded from: classes3.dex */ public static class NetworkInformation { public final long handle; public final IPAddress[] ipAddresses; public final String name; public final ConnectionType type; public final ConnectionType underlyingTypeForVpn; public NetworkInformation(String str, ConnectionType connectionType, ConnectionType connectionType2, long j, IPAddress[] iPAddressArr) { this.name = str; this.type = connectionType; this.underlyingTypeForVpn = connectionType2; this.handle = j; this.ipAddresses = iPAddressArr; } @CalledByNative("NetworkInformation") private ConnectionType getConnectionType() { return this.type; } @CalledByNative("NetworkInformation") private long getHandle() { return this.handle; } @CalledByNative("NetworkInformation") private IPAddress[] getIpAddresses() { return this.ipAddresses; } @CalledByNative("NetworkInformation") private String getName() { return this.name; } @CalledByNative("NetworkInformation") private ConnectionType getUnderlyingConnectionTypeForVpn() { return this.underlyingTypeForVpn; } } /* loaded from: classes3.dex */ public interface Observer { void onConnectionTypeChanged(ConnectionType connectionType); void onNetworkConnect(NetworkInformation networkInformation); void onNetworkDisconnect(long j); void onNetworkPreference(List list, int i); } void destroy(); @Nullable List getActiveNetworkList(); ConnectionType getCurrentConnectionType(); boolean supportNetworkCallback(); }