package hanson.xyz.vpnhotspotmod.net.monitor;

@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000(\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010#\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0002\b\u0007\b&\u0018\u0000 \u00132\u00020\u0001:\u0002\u0012\u0013B\u0005\u00a2\u0006\u0002\u0010\u0002J\b\u0010\f\u001a\u00020\rH&J\u000e\u0010\u000e\u001a\u00020\r2\u0006\u0010\u000f\u001a\u00020\u0005J\u0010\u0010\u0010\u001a\u00020\r2\u0006\u0010\u000f\u001a\u00020\u0005H$J\u000e\u0010\u0011\u001a\u00020\r2\u0006\u0010\u000f\u001a\u00020\u0005R\u0017\u0010\u0003\u001a\b\u0012\u0004\u0012\u00020\u00050\u0004\u00a2\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u0007R\u0014\u0010\b\u001a\u0004\u0018\u00010\tX\u00a4\u0004\u00a2\u0006\u0006\u001a\u0004\b\n\u0010\u000b\u00a8\u0006\u0014"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/monitor/UpstreamMonitor;", "", "()V", "callbacks", "", "Lhanson/xyz/vpnhotspotmod/net/monitor/UpstreamMonitor$Callback;", "getCallbacks", "()Ljava/util/Set;", "currentLinkProperties", "Landroid/net/LinkProperties;", "getCurrentLinkProperties", "()Landroid/net/LinkProperties;", "destroyLocked", "", "registerCallback", "callback", "registerCallbackLocked", "unregisterCallback", "Callback", "Companion", "mobile_freedomDebug"})
public abstract class UpstreamMonitor {
    @org.jetbrains.annotations.NotNull
    public static final java.lang.String KEY = "service.upstream";
    @org.jetbrains.annotations.NotNull
    private static hanson.xyz.vpnhotspotmod.net.monitor.UpstreamMonitor monitor;
    @org.jetbrains.annotations.NotNull
    private final java.util.Set<hanson.xyz.vpnhotspotmod.net.monitor.UpstreamMonitor.Callback> callbacks = null;
    @org.jetbrains.annotations.NotNull
    public static final hanson.xyz.vpnhotspotmod.net.monitor.UpstreamMonitor.Companion Companion = null;
    
    public UpstreamMonitor() {
        super();
    }
    
    @org.jetbrains.annotations.NotNull
    public final java.util.Set<hanson.xyz.vpnhotspotmod.net.monitor.UpstreamMonitor.Callback> getCallbacks() {
        return null;
    }
    
    @org.jetbrains.annotations.Nullable
    protected abstract android.net.LinkProperties getCurrentLinkProperties();
    
    protected abstract void registerCallbackLocked(@org.jetbrains.annotations.NotNull
    hanson.xyz.vpnhotspotmod.net.monitor.UpstreamMonitor.Callback callback);
    
    public abstract void destroyLocked();
    
    public final void registerCallback(@org.jetbrains.annotations.NotNull
    hanson.xyz.vpnhotspotmod.net.monitor.UpstreamMonitor.Callback callback) {
    }
    
    public final void unregisterCallback(@org.jetbrains.annotations.NotNull
    hanson.xyz.vpnhotspotmod.net.monitor.UpstreamMonitor.Callback callback) {
    }
    
    @kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\bf\u0018\u00002\u00020\u0001J\u0014\u0010\u0002\u001a\u00020\u00032\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u0005H&\u00a8\u0006\u0006"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/monitor/UpstreamMonitor$Callback;", "", "onAvailable", "", "properties", "Landroid/net/LinkProperties;", "mobile_freedomDebug"})
    public static abstract interface Callback {
        
        /**
         * Called if some possibly stacked interface is available
         */
        public abstract void onAvailable(@org.jetbrains.annotations.Nullable
        android.net.LinkProperties properties);
        
        @kotlin.Metadata(mv = {1, 9, 0}, k = 3, xi = 48)
        public static final class DefaultImpls {
        }
    }
    
    @kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u00000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0002J\b\u0010\u0007\u001a\u00020\u0006H\u0002J\u001c\u0010\b\u001a\u00020\t2\b\u0010\n\u001a\u0004\u0018\u00010\u000b2\b\u0010\f\u001a\u0004\u0018\u00010\u0004H\u0016J\u000e\u0010\r\u001a\u00020\t2\u0006\u0010\u000e\u001a\u00020\u000fJ\u000e\u0010\u0010\u001a\u00020\t2\u0006\u0010\u000e\u001a\u00020\u000fR\u000e\u0010\u0003\u001a\u00020\u0004X\u0086T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0006X\u0082\u000e\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u0011"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/monitor/UpstreamMonitor$Companion;", "Landroid/content/SharedPreferences$OnSharedPreferenceChangeListener;", "()V", "KEY", "", "monitor", "Lhanson/xyz/vpnhotspotmod/net/monitor/UpstreamMonitor;", "generateMonitor", "onSharedPreferenceChanged", "", "sharedPreferences", "Landroid/content/SharedPreferences;", "key", "registerCallback", "callback", "Lhanson/xyz/vpnhotspotmod/net/monitor/UpstreamMonitor$Callback;", "unregisterCallback", "mobile_freedomDebug"})
    public static final class Companion implements android.content.SharedPreferences.OnSharedPreferenceChangeListener {
        
        private Companion() {
            super();
        }
        
        private final hanson.xyz.vpnhotspotmod.net.monitor.UpstreamMonitor generateMonitor() {
            return null;
        }
        
        public final void registerCallback(@org.jetbrains.annotations.NotNull
        hanson.xyz.vpnhotspotmod.net.monitor.UpstreamMonitor.Callback callback) {
        }
        
        public final void unregisterCallback(@org.jetbrains.annotations.NotNull
        hanson.xyz.vpnhotspotmod.net.monitor.UpstreamMonitor.Callback callback) {
        }
        
        @java.lang.Override
        public void onSharedPreferenceChanged(@org.jetbrains.annotations.Nullable
        android.content.SharedPreferences sharedPreferences, @org.jetbrains.annotations.Nullable
        java.lang.String key) {
        }
    }
}