useNetworkStateObserver

@JvmField
var useNetworkStateObserver: Boolean(source)

While TorService is running, a NetworkObserver that monitors the device's connectivity state will be used for all instances of TorRuntime operating within the service. If this is set to false, it will not be used and the TorRuntime will be created with whatever was declared for TorRuntime.BuilderScope.networkObserver.

NOTE: Requires a permission. If not held, RuntimeEvent.ERROR observers will be notified, but operations will not be interrupted. See AndroidManifest.xml

Default: true