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: FlightPlanRoute) => {
  //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 route = await this.acceptRoute(route);
});

 

Callback Parameters
Parameter Description Type
route The route to reply to the EFB with. FlightPlanRoute