Class of snx.android · Network.java
public final class Network
Whether the app has the network: ScarletNX's Network setting (settings.txt's network: 1 the computer's connection, 0 offline with loopback only), which the runtime gives as snx.android.network. Offline, no name resolves but localhost's (OfflineResolver), a connection to another host fails, and ConnectivityManager reports no network.
public static boolean online() sourcepublic static boolean local(String host) sourcea name or an address of this machine's loopback
Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.