Prospects for measuring the longitudinal particle distribution of cosmic-ray air showers with SKA