Skip to content

//app/com.bluerpc.worker/Const

Const

[androidJvm]\ object Const

Constants Mostly used for key and defaults for shared preferences

Properties

Name Summary
CFG_ENABLE_MDNS [androidJvm]
const val CFG_ENABLE_MDNS: String
Enable mDNS broadcasting to allow auto-discovery by the clients
CFG_ENABLE_MDS_DEFAULT [androidJvm]
const val CFG_ENABLE_MDS_DEFAULT: Boolean = true
CFG_NAME [androidJvm]
const val CFG_NAME: String
CFG_PORT [androidJvm]
const val CFG_PORT: String
CFG_PORT_DEFAULT [androidJvm]
const val CFG_PORT_DEFAULT: Int = 5052
CFG_SCANNING_MODE [androidJvm]
const val CFG_SCANNING_MODE: String
Background Scanning Modes FILTER: default mode, the worker will report scanning limitations to the client so that it will provide filters SCREEN_ON: The worker will darken the screen but force it to stay on to allow background scanning without filter limitations IGNORE: The worker will report no limitations to the client (can be useful if you already have an app keeping the screen on)
CFG_SCANNING_MODE_DEFAULT [androidJvm]
const val CFG_SCANNING_MODE_DEFAULT: Int = 0
CFG_SCANNING_MODE_FILTER [androidJvm]
const val CFG_SCANNING_MODE_FILTER: Int = 0
CFG_SCANNING_MODE_IGNORE [androidJvm]
const val CFG_SCANNING_MODE_IGNORE: Int = 2
CFG_SCANNING_MODE_SCREEN_ON [androidJvm]
const val CFG_SCANNING_MODE_SCREEN_ON: Int = 1
CFG_TLS_ENABLE [androidJvm]
const val CFG_TLS_ENABLE: String
Enable secure mode needs a keystore
CFG_TLS_ENABLE_DEFAULT [androidJvm]
const val CFG_TLS_ENABLE_DEFAULT: Boolean = false
CFG_TLS_KEYSTORE [androidJvm]
const val CFG_TLS_KEYSTORE: String
Path to the keystore
CFG_TLS_KEYSTORE_DEFAULT [androidJvm]
const val CFG_TLS_KEYSTORE_DEFAULT: String
CFG_TLS_KEYSTORE_PASSWORD [androidJvm]
const val CFG_TLS_KEYSTORE_PASSWORD: String
Keystore Password
DEFAULT_MAC [androidJvm]
const val DEFAULT_MAC: String
KEYSTORE_DEFAULT_PATH [androidJvm]
const val KEYSTORE_DEFAULT_PATH: String
SHARED_PREF [androidJvm]
const val SHARED_PREF: String