buildCapturingLocalService

Test support builder that constructs a LocalService while capturing the per-attribute read and write actions and the subscribable characteristics into a CapturedLocalService.

Return

the CapturedLocalService holding the built service and all captured actions

Parameters

uuid

the UUID of the LocalService

wrapperBuilder

the LocalServiceWrapperBuilder used to create the platform service

onNotify

invoked when a characteristic notifies a device

service

the LocalService.DSL block describing the service