ServerSettings
data class ServerSettings(val permissions: Permissions, val autoRequestPermission: Boolean = true, val autoEnableBluetooth: Boolean = true, val logger: Logger = RestrictedLogger(RestrictedLogLevel.None))
Settings for configuring a BluetoothServer
Constructors
Link copied to clipboard
constructor(permissions: Permissions, autoRequestPermission: Boolean = true, autoEnableBluetooth: Boolean = true, logger: Logger = RestrictedLogger(RestrictedLogLevel.None))
Properties
Link copied to clipboard
if true the server should automatically enable the Bluetooth service if disabled
Link copied to clipboard
if true the server should automatically request permissions if not granted
Link copied to clipboard
the Permissions to manage the bluetooth related permissions