Service
class Service(service: ServiceWrapper, emitNewAction: (DeviceConnectionManager.Event.AddAction) -> Unit, parentLogTag: String, logger: Logger)
A Bluetooth Service
Parameters
service
the ServiceWrapper to access the platform service
emitNewAction
method to call when a new DeviceConnectionManager.Event.AddAction event should take place
parentLogTag
the log tag used to modify the log tag of this service
logger
the Logger to use for logging.
Constructors
Link copied to clipboard
constructor(service: ServiceWrapper, emitNewAction: (DeviceConnectionManager.Event.AddAction) -> Unit, parentLogTag: String, logger: Logger)