Skip to main content

Class: AuralAlertSystemXmlAdapter

Adapts XML-defined aural alerts to AuralAlertSystem. Handles the registration of the alerts and management of alert state.

Constructors

constructor

new AuralAlertSystemXmlAdapter(bus, logicHost, casSystem, alertDefsRoot, parser): AuralAlertSystemXmlAdapter

Creates a new instance of AuralAlertSystemXmlAdapter.

Parameters

NameTypeDescription
busEventBusThe event bus.
logicHostCompositeLogicXMLHostThe XML logic host used to run this adapter's XML logic.
casSystemCasSystemThe CAS system.
alertDefsRootnull | ElementThe root XML document element containing the aural alert definitions to use.
parserXmlAuralAlertParserThe parser to use to parse alert definitions from the XML document.

Returns

AuralAlertSystemXmlAdapter

Defined in

src/sdk/utils/sound/AuralAlertSystemXmlAdapter.ts:314

Methods

start

start(): void

Registers this adapter's alerts with AuralAlertSystem and starts automatically managing alert states.

Returns

void

Defined in

src/sdk/utils/sound/AuralAlertSystemXmlAdapter.ts:338