ISimulatorAirTrafficControl
USI.Core
Provides discoverable access to simulator-managed air-traffic-control state.
public interface ISimulatorAirTrafficControlMethods
TryContactAsync
public Task<USIResult> TryContactAsync()TryGetArrivalAirportAtisAvailableAsync
public Task<USIResult<Boolean>> TryGetArrivalAirportAtisAvailableAsync()Gets whether the planned arrival airport provides ATIS.
TryGetArrivalAirportToweredAsync
public Task<USIResult<Boolean>> TryGetArrivalAirportToweredAsync()Gets whether the planned arrival airport is tower controlled.
TryGetArrivalTrafficPatternDirectionAsync
public Task<USIResult<AirTrafficControlPatternDirection>> TryGetArrivalTrafficPatternDirectionAsync()Gets the planned arrival traffic-pattern direction.
TryGetAssignedAltitudeFeetAsync
public Task<USIResult<Nullable<Double>>> TryGetAssignedAltitudeFeetAsync()Gets the altitude assigned by simulator-managed ATC in feet, or null when no altitude is currently assigned.
TryGetAssignedArrivalGateNameAsync
public Task<USIResult<String>> TryGetAssignedArrivalGateNameAsync()Gets the assigned arrival gate name, or null when unassigned.
TryGetAssignedDepartureGateNameAsync
public Task<USIResult<String>> TryGetAssignedDepartureGateNameAsync()Gets the assigned departure gate name, or null when unassigned.
TryGetAssignedLandingRunwayNameAsync
public Task<USIResult<String>> TryGetAssignedLandingRunwayNameAsync()Gets the assigned landing-runway name, or null when unassigned.
TryGetAssignedRunwayAsync
public Task<USIResult<AirTrafficControlRunwayAssignment>> TryGetAssignedRunwayAsync()TryGetAssignedTakeoffRunwayNameAsync
public Task<USIResult<String>> TryGetAssignedTakeoffRunwayNameAsync()Gets the assigned takeoff-runway name, or null when unassigned.
TryGetAtisEnabledAsync
public Task<USIResult<Boolean>> TryGetAtisEnabledAsync()TryGetClearanceStateAsync
public Task<USIResult<AirTrafficControlClearanceState>> TryGetClearanceStateAsync()TryGetControlZoneOverflightClearanceGrantedAsync
public Task<USIResult<Boolean>> TryGetControlZoneOverflightClearanceGrantedAsync()Gets whether ATC granted overflight of a control-zone area.
TryGetCurrentAirportToweredAsync
public Task<USIResult<Boolean>> TryGetCurrentAirportToweredAsync()TryGetDepartureAirportToweredAsync
public Task<USIResult<Boolean>> TryGetDepartureAirportToweredAsync()Gets whether the planned departure airport is tower controlled.
TryGetDepartureTrafficPatternDirectionAsync
public Task<USIResult<AirTrafficControlPatternDirection>> TryGetDepartureTrafficPatternDirectionAsync()Gets the planned departure traffic-pattern direction.
TryGetFirstVfrArrivalPatternWaypointNameAsync
public Task<USIResult<String>> TryGetFirstVfrArrivalPatternWaypointNameAsync()Gets the first VFR-arrival-pattern waypoint name, or null when unassigned.
TryGetHighestFlightPathWaypointAltitudeFeetAsync
public Task<USIResult<Double>> TryGetHighestFlightPathWaypointAltitudeFeetAsync()Gets the highest waypoint altitude in the ATC flight path, in feet.
TryGetIfrFlightPlanClearanceRequestAvailableAsync
public Task<USIResult<Boolean>> TryGetIfrFlightPlanClearanceRequestAvailableAsync()TryGetIfrFlightPlanClearedAsync
public Task<USIResult<Boolean>> TryGetIfrFlightPlanClearedAsync()TryGetLandingClearanceGrantedAsync
public Task<USIResult<Boolean>> TryGetLandingClearanceGrantedAsync()TryGetMissionRequiresIfrFlightPlanAsync
public Task<USIResult<Boolean>> TryGetMissionRequiresIfrFlightPlanAsync()Gets whether the current simulator mission requires an IFR plan.
TryGetNextControllerHandoffAsync
public Task<USIResult<AirTrafficControlHandoffAdvisory>> TryGetNextControllerHandoffAsync()Gets the upcoming simulator-managed controller handoff advisory.
TryGetNextWaypointAsync
public Task<USIResult<AirTrafficControlWaypointAssignment>> TryGetNextWaypointAsync()Gets the next ATC waypoint, or null when none is assigned.
TryGetOnParkingSpotAsync
public Task<USIResult<Boolean>> TryGetOnParkingSpotAsync()TryGetOverflyingAirportUnannouncedAsync
public Task<USIResult<Boolean>> TryGetOverflyingAirportUnannouncedAsync()Gets whether the aircraft is overflying an airport without announcing itself.
TryGetPreviousFlightPathWaypointAltitudeFeetAsync
public Task<USIResult<Double>> TryGetPreviousFlightPathWaypointAltitudeFeetAsync()Gets the previous ATC flight-path waypoint target altitude in feet.
TryGetTakeoffClearanceGrantedAsync
public Task<USIResult<Boolean>> TryGetTakeoffClearanceGrantedAsync()TryGetTaxiClearanceGrantedAsync
public Task<USIResult<Boolean>> TryGetTaxiClearanceGrantedAsync()TryGetTaxiInstructionPathDeviationFeetAsync
public Task<USIResult<Double>> TryGetTaxiInstructionPathDeviationFeetAsync()TryGetTextMessagesEnabledAsync
public Task<USIResult<Boolean>> TryGetTextMessagesEnabledAsync()Gets whether simulator-generated ATC text messages are visible.
TryGetUserAircraftTransmittingAsync
public Task<USIResult<Boolean>> TryGetUserAircraftTransmittingAsync()Gets whether the user aircraft is currently transmitting to simulator-managed air traffic control.
TryReadBackLastMessageAsync
public Task<USIResult> TryReadBackLastMessageAsync()TrySetAtisEnabledAsync
public Task<USIResult> TrySetAtisEnabledAsync(bool enabled)TrySetPushToTalkHeldAsync
public Task<USIResult> TrySetPushToTalkHeldAsync(bool held)Holds or releases this connection's push-to-talk control for simulator-managed air traffic control. A successful hold is released automatically when the connection closes.
TrySetTextMessagesEnabledAsync
public Task<USIResult> TrySetTextMessagesEnabledAsync(bool enabled)Shows or hides simulator-generated ATC text messages.
