There are two ways to get the unlocked information, one is to pull the unblock information from the server to the account application, i.e. reloadUnlockedZoneGroupsFromServer; the other is to get the unlocked information already stored by the flight control from the aircraft, i.e. getUnlockedFlyZonesForAircraft.
The unlocked information obtained from the server is incomplete, only the information obtained from the aircraft is the complete unlocked information. Therefore, to get the unlocked altitude and other information, you need to get it by getUnlockedFlyZonesForAircraft. The general process is as follows.
1. reloadUnlockedZoneGroupsFromServer -- to get the account unlocked information.
2.syncUnlockedZoneGroupToAircraft -- synchronize the obtained unlocked information to the aircraft.
3. getUnlockedFlyZonesForAircraft -- get the complete unlocked information.