ICallsignRouteFetcherRegisterAircraft Method |
Registers an aircraft's callsign with the fetcher. If the details are already known
then they are immediately returned, otherwise they will be fetched on a background
thread.
Namespace: VirtualRadar.Interface.StandingDataAssembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax CallsignRouteDetail RegisterAircraft(
IAircraft aircraft
)
Function RegisterAircraft (
aircraft As IAircraft
) As CallsignRouteDetail
CallsignRouteDetail^ RegisterAircraft(
IAircraft^ aircraft
)
abstract RegisterAircraft :
aircraft : IAircraft -> CallsignRouteDetail
Parameters
- aircraft
- Type: VirtualRadar.InterfaceIAircraft
Return Value
Type:
CallsignRouteDetailNull if the callsign has not been fetched, the callsign details if they have
been fetched.
Remarks
There is no unregister call, any given callsign is automatically deregistered after the
fetcher hasn't seen a RegisterAircraft for it in a while.
See Also