Registers a callback for route broadcast from the EFB. This is triggered when the player clicks the “Send Route To Avionics” button.

 

Syntax
bool fsPlannedRouteRegisterForBroadcast(
  fsPlannedRouteBroadcastCallback callback,
  void* ctx
)

 

Parameters
ParameterDescriptionType
callbackThe callback to call when a route is sent from the EFB.Callback
ctxA user data pointer that will be sent with the callback.Pointer

 

Return Values

The function will return a bool indicating if the call was successful.

 

Remarks

The pointer to the route received by the callback is only valid for the duration of the callback function. If the data is required for a longer duration, copies of the desired data should be made locally in your module.