Remote Control
A generic remote control. This is the base class to manage a specific remote control.
Properties
Functions
Link copied to clipboard
Connects the remote control.
Connects the remote control using the specified device connector and custom parameters.
Link copied to clipboard
Disconnects the remote control.
Link copied to clipboard
Gets an instrument.
abstract fun <I : Instrument> getInstrument(instrumentClass: Class<I>, observer: Ref.Observer<I>): Ref<I>
Gets an instrument and registers an observer notified each time it changes.
Link copied to clipboard
Gets a peripheral.
abstract fun <T : Peripheral> getPeripheral(peripheralClass: Class<T>, observer: Ref.Observer<T>): Ref<T>
Gets a peripheral and registers an observer notified each time it changes.
Link copied to clipboard
Gets current remote control state and registers an observer notified each time it changes.