service

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

Adds a LocalService using LocalService.DSL.Primary

Parameters

uuid

the UUID of the LocalService to add

service

the LocalService.DSL.Primary to use to set up the LocalService


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

Adds a LocalService using LocalService.DSL.Primary

Parameters

uuidString

the string of the UUID of the LocalService to add

service

the LocalService.DSL.Primary to use to set up the LocalService

Throws

UUIDException

if uuidString is not a valid UUID