Abstract
Private
_currentPrivate
_currentPrivate
_deviceProtected
_devicePrivate
_getPrivate
_instanceProtected
_isProtected
_reportPrivate
_startPrivate
debugPrivate
debugAbstract
canAbstract
connectedAbstract
deviceA human-readable name for this device
Abstract
devicePrivate
_updateRest
...args: ArgumentMap<DeviceEvents>[Extract<T, keyof DeviceEvents>]Optional
context: anyAbstract
clearCalls each of the listeners registered for a given event.
Rest
...args: ArgumentMap<DeviceEvents>[Extract<T, keyof DeviceEvents>]Protected
emitProtected
emitOptional
_payload: Record<string, any>Abstract
getProtected
handleAbstract
handleCalled from Conductor when a new state is to be handled
Abstract
initConnect to the device, resolve the promise when ready.
Device-specific options
Optional
activeRundownPlaylistId: stringID of active rundown playlist
Return the listeners registered for a given event.
The makeReady method could be triggered at a time before broadcast Whenever we know that the user want's to make sure things are ready for broadcast The exact implementation differ between different devices
Optional
_okToDestroyStuff: booleanOptional
_activeRundownId: stringOptional
fn: ((...args: ArgumentMap<DeviceEvents>[Extract<T, keyof DeviceEvents>]) => void)Rest
...args: ArgumentMap<DeviceEvents>[Extract<T, keyof DeviceEvents>]Optional
context: anyOptional
once: booleanAdd a listener for a given event.
Rest
...args: ArgumentMap<DeviceEvents>[Extract<T, keyof DeviceEvents>]Optional
context: anyProtected
onTo be called by children first in .handleState
Add a one-time listener for a given event.
Rest
...args: ArgumentMap<DeviceEvents>[Extract<T, keyof DeviceEvents>]Optional
context: anyAbstract
prepareRemove the listeners of a given event.
Optional
fn: ((...args: ArgumentMap<DeviceEvents>[Extract<T, keyof DeviceEvents>]) => void)Rest
...args: ArgumentMap<DeviceEvents>[Extract<T, keyof DeviceEvents>]Optional
context: anyOptional
once: booleanAbstract
terminatePrivate
updateGenerated using TypeDoc
Base class for all Devices to inherit from. Defines the API that the conductor class will use.