On this page
AvionicsRouteSync
This event is sent to all views and instruments when a user clicks the “Sync Route To Avionics” button on the EFB.
Example
//listener has been registered earlier with RegisterViewListener
listener.on('AvionicsRouteSync', async (route) => {
//Do work here as required to load the route into your instrument
//This is just an example, this acceptRoute function is not part of the API
const accepted = await this.acceptRoute(route);
});Callback Parameters
| Parameter | Description | Type |
|---|---|---|
route | The route to load into the instrument. | FlightPlanRoute |
