service

abstract fun service(uuid: UUID, service: LocalService.DSL.() -> Unit)

Adds a LocalService using LocalService.DSL

Parameters

uuid

the UUID of the LocalService to add

service

the LocalService.DSL to use to set up the LocalService


open fun service(uuidString: String, service: LocalService.DSL.() -> Unit)

Adds a LocalService using LocalService.DSL

Parameters

uuidString

the string of the UUID of the LocalService to add

service

the LocalService.DSL to use to set up the LocalService

Throws