ExtendedDeviceScope

class ExtendedDeviceScope(deviceName: String)

Configure the definition of the logical device with a deviceName.

Constructors

Link copied to clipboard
constructor(deviceName: String)

Functions

Link copied to clipboard
fun addComponent(component: ComponentRef)

Register a component in the device.

Link copied to clipboard
infix fun ComponentRef.requires(capabilities: NonEmptySet<Capability>)

Specifies that a component requires a set of capabilities.

infix fun ComponentRef.requires(capability: Capability)

Specifies that a component requires a capability.

Link copied to clipboard
infix fun ComponentRef.wiredTo(others: NonEmptySet<ComponentRef>)

Links a component to other components.

Links a component to another component.

Link copied to clipboard

Register a Component in the device and return its ComponentKind.