ManagedDeviceDslRegistration

@Incubating class ManagedDeviceDslRegistration<DeviceT : Device>


Class containing all information regarding the DSL for a new Custom Managed Device Type. For use with the CustomManagedDeviceRegistry.

Summary

Public constructors

<DeviceT : Device> ManagedDeviceDslRegistration(
    deviceApi: Class<DeviceT>,
    deviceImpl: Class<DeviceT>
)

Public properties

Class<DeviceT>

The api interface for the Custom Managed Device, which should be visible to developers using the DSL.

Class<DeviceT>

the actual implementation of the deviceApi class.

Public constructors

ManagedDeviceDslRegistration

@Incubating
<DeviceT : Device> ManagedDeviceDslRegistration(
    deviceApi: Class<DeviceT>,
    deviceImpl: Class<DeviceT>
)
Parameters
deviceApi: Class<DeviceT>

The api interface for the Custom Managed Device, which should be visible to developers using the DSL.

deviceImpl: Class<DeviceT>

the actual implementation of the deviceApi class.

Public properties

deviceApi

val deviceApiClass<DeviceT>

The api interface for the Custom Managed Device, which should be visible to developers using the DSL.

deviceImpl

val deviceImplClass<DeviceT>

the actual implementation of the deviceApi class.