Builder
Opener for creating a TorServiceConfig.Foreground which will run all instances of TorRuntime that have been created via newEnvironment inside of TorService, operating as a Foreground Service.
NOTE: An android.app.NotificationChannel for API 26+ is set up using the provided TorServiceUI.Factory.info (emulators & devices only).
See KmpTorServiceUI(https://kmp-tor.matthewnelson.io/library/runtime-service-ui/io.matthewnelson.kmp.tor.runtime.service.ui/-kmp-tor-service-u-i/index.html
See also
Throws
If an instance of TorServiceConfig has already been instantiated and is unable to be returned because it is not an instance of Foreground.
If factory fails validation checks (emulators & devices only).
If factory fails validation checks (emulators & devices only).
If factory fails validation checks (emulators & devices only).